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
AG_TABLE );
		
		setStyleName( table.getStyleClass( ) );
		int display = checkElementType( x, y, mergedStyle, styleBuffer );
		setDisplayProperty( display, DISPLAY_INLINE, styleBuffer );
		handleShrink( DISPLAY_BLOCK, mergedStyle, table.getHeight( ), table
				.getW( ), styleBuffer );
		handleStyle( table, styleBuffer );
		
		String b = table.getB( );
		 b == null )
		{
			b = generateUniqueID( );
			table.setB( b );
		}
		setB( null, b );
		 Add it to active id list, and output type ��iid to html
		setActiveIDTypeIID(table);
		 table caption
		String caption = table.getCaption( );
		 caption != null && caption.length( ) > 0 )
		{
			writer.openTag( HTMLTags.TAG_CAPTION );
			writer.text( caption );
			writer.closeTag( HTMLTags.TAG_CAPTION );
		}
		 include select handle table
		 renderOption != null && renderOption instanceof HTMLRenderOption )
		{
			HTMLRenderOption htmlOption = (HTMLRenderOption) renderOption;
		
			Object generateBy = table.getGenerateBy( );
			 htmlOption.getIncludeSelectionHandle( )
					&& generateBy instanceof TableItemDesign )
			{
				startSelectHandleTable( );
			}
		}
		writeColumns( table );
	}
	**
	 * bug128480
	 * render table with a highlight handle
	 *	
	protected void startSelectHandleTable( )
	{
		writer.openTag( HTMLTags.TAG_COL );
		ttribute( HTMLTags.ATTR_STYLE, "w:5%;background-color:black" );
		writer.closeTag( HTMLTags.TAG_COL );
		writer.openTag( HTMLTags.TAG_COL );
		ttribute( HTMLTags.ATTR_STYLE, "w:95%" );
		writer.closeTag( HTMLTags.TAG_COL );
		writer.openTag( HTMLTags.TAG_TR );
		writer.openTag( HTMLTags.TAG_TD );
		writer.closeTag( HTMLTags.TAG_TD );
		writer.openTag( HTMLTags.TAG_TD );
		writer.openTag( HTMLTags.TAG_TABLE );
		ttribute( HTMLTags.ATTR_STYLE, "w:100%" );
	}
	
	protected void endSelectHandleTable( )
	{
		writer.closeTag( HTMLTags.TAG_TABLE );
		writer.closeTag( HTMLTags.TAG_TD );
		writer.closeTag( HTMLTags.TAG_TR );
	}
	protected void writeColumns( ITableContent table )
	{
		for ( int i = 0; i < tabl