Bug 134944 Page footer displays in wrong place when preview in Web Viewer.
Description: Page footer displays in wrong place when preview in html. Steps to reproduce: 1. New sample source and dataset from customers. 2. Drag dataset to layout. 3. Insert content to master page footer. 4. Preview in web viewer Expected result: Page footer displays at the end of the report. Actual result: Page footer displayed in the middle of the report and overlapped with report body content.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
ml; charset=UTF-8" );  
		writer.closeNoEndTag( );
		writer.openTag( HTMLTags.TAG_STYLE );
		ttribute( HTMLTags.ATTR_TYPE, "textcss" ); 
		
		writer.style( "*", "vertical-align: baseline;", true );  
		IStyle style;
		StringBuffer styleBuffer = new StringBuffer( );
		 report == null )
		{
			logger.log( Level.WARNING,
					"[HTMLReportEmitter] Report object is null." ); 
		}
		else
		{
			Report reportDesign = report.getDesign( );
			for ( int n = 0; n < reportDesign.getStyleCount( ); n++ )
			{
				styleBuffer.delete( 0, styleBuffer.capacity( ) );
				style = (IStyle) reportDesign.getStyle( n );
				AttributeBuilder.buildStyle( styleBuffer, style, this, true );
				writer.style( Report.PREFIX_STYLE_NAME + n, styleBuffer
						.toString( ), false );
			}
		}
		writer.closeTag( HTMLTags.TAG_STYLE );
		fixTransparentPNG( );
		writer.closeTag( HTMLTags.TAG_HEAD );
		String reportStyleName = report == null ? null : report.getDesign( )
				.getRootStyleName( );
		writer.openTag( HTMLTags.TAG_BODY );
		 reportStyleName != null )
		{
			ttribute( HTMLTags.ATTR_CLASS, reportStyleName );
		}
	}
	private void appendErrorMessage( int index, ElementExceptionInfo info )
	{
		String errorId = "document.getElementById('error_detail" + index + "')";
		String errorIcon = "document.getElementById('error_icon" + index + "')";
		String onClick = "" + errorId + ".style.display == 'none') { "
				+ errorIcon + ".innerHTML = '-'; " + errorId
				+ ".style.display = 'block'; }" + "else { " + errorIcon
				+ ".innerHTML = '+'; " + errorId + ".style.display = 'none'; }";
		EngineResourceHandle rc = EngineResourceHandle.getInstance( );
		writer.writeCode( "			<div>" );
		writer.writeCode( "				<span id=\"error_icon" + index
				+ "\"  style=\"cursor:pointer\" onclick=\"" + onClick
				+ "\" > + <span>" );
		writer.writeCode( "				<span  id=\"error_title\">" );
		writer.text( rc.getMessage( MessageConstants.REPORT_ERROR_MESSAGE,
				new Object[]{info.getType( ), info.getElementInfo( )} ), fals