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
LTags.TAG_DIV );
		 page != null )
		{
			IContent pageBody = page.getPageBody( );
			IStyle bodyStyle = pageBody.getStyle( );
			String bodyStyleName = pageBody.getStyleClass( );
			
			Object genBy = page.getGenerateBy( );
			 genBy instanceof MasterPageDesign )
			{
				MasterPageDesign masterPage = (MasterPageDesign) genBy;
				StringBuffer styleBuffer = new StringBuffer( );
				 isEmbeddable )
				{
					AttributeBuilder.buildStyle( styleBuffer, bodyStyle, this );
				}
				else
				{
					setStyleName( bodyStyleName );
				}
				AttributeBuilder.buildSize( styleBuffer,
						HTMLTags.ATTR_HEIGHT,
						masterPage.getPageHeight( ) );
				ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
			}
		}
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#endPage(org.eclipse.birt.report.engine.content.IPageContent)
	 *
	public void endPage( IPageContent page )
	{
		
		logger.log( Level.FINE, "[HTMLReportEmitter] End page." ); 
				
		writer.closeTag( HTMLTags.TAG_DIV );
		
		
		 page != null )
		{
			 outputMasterPageContent )
			{
				
				writer.openTag( HTMLTags.TAG_DIV );				
				handlePageStyle( page.getPageFooter().getStyleClass( ), page.getPageFooter().getStyle( ) );			
				
				contentVisitor.visitList( page.getFooter( ), null );
								
				
				writer.closeTag( HTMLTags.TAG_DIV );
			}
		}
		
		
		writer.closeTag( HTMLTags.TAG_DIV );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startTable(org.eclipse.birt.report.engine.content.ITableContent)
	 *
	public void startTable( ITableContent table )
	{
		assert table != null;
		IStyle mergedStyle = table.getStyle( );
		push( mergedStyle );
		 isHidden( ) )
		{
			return;
		}
		logger.log( Level.FINE, "[HTMLTableEmitter] Start table" ); 
		DimensionType x = table.getX( );
		DimensionType y = table.getY( );
		StringBuffer styleBuffer = new StringBuffer( );
		addDefaultTableStyles( styleBuffer );
		writer.openTag( HTMLTags.T