Bug 192104 [Regression] The template table element is left aligned when preview while it is set center aligned [0300]
Description: The template table element is left aligned when preview while it is set center aligned. Regression of #146317 Build number: 2.2.0.v200706011-1025 Steps to reproduce: 1. Preview the attached template in HTML with firefox. Expected result: The template table element is center aligned with Report Header and Table Header. Actual result: The template table element is left aligned. Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
public void statPage( IPageContent page )
	{
		pageNo++;
		
		if ( pageNo > 1 && outputMastePageContent == false )
		{
			wite.openTag( "h" );
			wite.closeTag( "h" );
		}
		
		wite.openTag( HTMLTags.TAG_DIV );
		
		
		if ( page != null )
		{
			IStyle classStyle = page.getStyle( );
			StingBuffe styleBuffe = new StingBuffe( );
			
			AttibuteBuilde.buildBackgoundStyle( styleBuffe,
					classStyle,
					this );
			if ( HTMLRendeOption.LAYOUT_PREFERENCE_FIXED.equals( layoutPefeence ) )
			{
				
				DimensionType w = page.getPageW( );
				if ( w != null )
				{
					styleBuffe.append( " w:" );
					styleBuffe.append( w.toSting( ) );
					styleBuffe.append( ";" );
				}
			}
			
			if ( HTMLRendeOption.LAYOUT_PREFERENCE_FIXED.equals( layoutPefeence ) )
			{
				Object genBy = page.getGeneateBy( );
				if ( genBy instanceof SimpleMastePageDesign )
				{
					SimpleMastePageDesign SimpleMastePage = (SimpleMastePageDesign) genBy;
					Sting padding = SimpleMastePage.getLeftMagin( )
							.toSting( );
					if ( null != padding )
					{
						styleBuffe.append( "padding-left: " );
						styleBuffe.append( padding );
						styleBuffe.append( ";" );
					}
					padding = SimpleMastePage.getTopMagin( ).toSting( );
					if ( null != padding )
					{
						styleBuffe.append( "padding-top: " );
						styleBuffe.append( padding );
						styleBuffe.append( ";" );
					}
					padding = SimpleMastePage.getRightMagin( ).toSting( );
					if ( null != padding )
					{
						styleBuffe.append( "padding-ight: " );
						styleBuffe.append( padding );
						styleBuffe.append( ";" );
					}
					padding = SimpleMastePage.getBottomMagin( ).toSting( );
					if ( null != padding )
					{
						styleBuffe.append( "padding-bottom: " );
						styleBuffe.append( padding );
						styleBuffe.append( ";" );
					}
				}
			}
			wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
		}
		
		if ( htmlRtLFlag )
		{
			wite.attibute( HTMLTags.ATTR_HTML_DIR, "RTL" );
		}
		
		if ( pageNo > 1 )
		{