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
r.buildComputedTextStyle( styleBuffer, element.getComputedStyle( ),this , bContainer );
		}
		 o
		ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
	}
	protected void handleStyle( IContent element, StringBuffer styleBuffer )
	{
		IStyle style;
		 isEmbeddable )
		{
			style = element.getStyle( );
		}
		else
		{
			style = element.getInlineStyle( );
		}
		AttributeBuilder.buildStyle( styleBuffer, style, this, true );
		 o
		ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
	}
	**
	 * adds the default table styles
	 * 
	 * @param styleBuffer
	 *
	protected void addDefaultTableStyles( StringBuffer styleBuffer )
	{
			styleBuffer
					.append( "border-collapse: collapse; empty-cells: show;" ); 
	}
	protected void ementID( IContent content, String b,
			String type )
	{
		Object generateBy = content.getGenerateBy( );
		 generateBy instanceof TableItemDesign
				|| generateBy instanceof ListItemDesign
				|| generateBy instanceof ExtendedItemDesign
				|| generateBy instanceof LabelItemDesign )
		{
			 renderOption instanceof HTMLRenderOption )
			{
				List htmlIds = ( (HTMLRenderOption) renderOption )
						.getInstanceIDs( );
				 htmlIds != null && b != null )
				{
					assert type != null;
					String newB = b + "," + type;
					htmlIds.add( newB );
				}
			}
		}
	}
	protected String generateUniqueID( )
	{
		 random == null )
		{
			random = new Random( );
		}
		String randLong = "" + random.nextLong( );
		randLong = randLong.replaceAll( "-", "" );
		return "AUTOGENBOOKMARK_" + randLong;
	}
	
	**
	 * Add element to active ID list. Output type & iid to html.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private void setActiveIDTypeIID( IContent content)
	{
		 If content is generated by LabelItemDesign or TemplateDesign,
		 ExtendedItemDesign, TableItemDesign
		 add it to active id list, and output type & iid to html
		Object genBy = content.getGenerateBy( );
		String type = null;
		genBy instanceof LabelItemDesign)
		{
			ty