Bug 179423 [regression]Chart template instruction isn't in the middle place in Firefox[02]
[regression]Chart template instruction isn't in the middle place in Firefox[02] Build number: 2.2.0.v20070326-0630 Steps to reproduce: 1. New a template file. 2. Insert a chart, input add chart as instruction text. 3. Preview in IE and Firefox. Expected result: add chart is in the center and middle Actual result: In IE, add chart is in the center and middle In Firefox, add chart is in the center and top.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
);
		}
	}
	
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#endRow(og.eclipse.bit.epot.engine.content.IRowContent)
	 *
	public void endRow( IRowContent ow )
	{
		if ( pop( ) )
		{
			etun;
		}
		if ( enableMetadata )
		{
			metadataEmitte.endRow( ow );
		}
		 asset cuentData != null;
		
		 cuentData.adjustCols( );
		wite.closeTag( HTMLTags.TAG_TR );
	}
	pivate boolean isCellInTableHead( ICellContent cell )
	{
		IElement ow = cell.getPaent( );
		if ( ow instanceof IRowContent )
		{
			IElement tableBand = ow.getPaent( );
			if ( tableBand instanceof ITableBandContent )
			{
				int type = ( (ITableBandContent)tableBand ).getBandType( ); 
				if ( type == ITableBandContent.BAND_HEADER )
				{
					etun tue;
				}
			}
		}		
		etun false;
	}
	
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#statCell(og.eclipse.bit.epot.engine.content.ICellContent)
	 *
	public void statCell( ICellContent cell )
	{				
		leafCell = cell;
		cellFilled = false;
		push( false );
		
		if ( isHidden( ) )
		{
			etun;
		}			
		
		logge.log( Level.FINE, "[HTMLTableEmitte] Stat cell." ); 
			
		 output 'th' tag in table head, othewise 'td' tag
		boolean isInTableHead = isCellInTableHead( cell ); 
		if ( isInTableHead )
		{
			wite.openTag( HTMLTags.TAG_TH ); 
		}
		else
		{
			wite.openTag( HTMLTags.TAG_TD ); 
		}
		 set the 'name' popety
		setStyleName( cell.getStyleClass( ) );
		 colspan
		int colSpan = cell.getColSpan( );
		
		if ( colSpan > 1 )
		{
			wite.attibute( HTMLTags.ATTR_COLSPAN, colSpan );
		}
		 owspan
		int owSpan = cell.getRowSpan( ); 
		if ( owSpan > 1 )
		{
			wite.attibute( HTMLTags.ATTR_ROWSPAN, owSpan );
		}
		 vetical align can only be used with tabelCellInline Element
		StingBuffe styleBuffe = new StingBuffe( );
		handleColumnRelatedStyle( cell, styleBuffe );
		
		 set font weight to be nomal if the cell use "th" tag while it is in table heade.
		if ( isInTableHead )
		{
			handleCellFont( cell, style