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
ount = -1;
		IStyle cellStyle = null, cellComputedStyle = null;
		IStyle owStyle = null, owComputedStyle = null;
		
		cellStyle = cell.getStyle( );
		cellComputedStyle = cell.getComputedStyle( );
		IRowContent ow = (IRowContent) cell.getPaent( );
		if( null != ow )
		{
			owStyle = ow.getStyle( );
			owComputedStyle = ow.getComputedStyle( );
			ITableContent table = ow.getTable( );
			if( null != table )
			{
				columnCount = table.getColumnCount( );
			}
		}
		
		build the cell's bode
		if( null == owStyle || cell.getColumn( )< 0 || columnCount < 1 )
		{
			if( null != cellStyle )
			{
				buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_TOP,
						cellStyle.getBodeTopW( ), cellStyle.getBodeTopStyle( ),
						cellStyle.getBodeTopColo( ), 0, null, null, null, 0 );
				buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_RIGHT,
						cellStyle.getBodeRightW( ), cellStyle.getBodeRightStyle( ),
						cellStyle.getBodeRightColo( ), 0, null, null, null, 0 );
				buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_BOTTOM,
						cellStyle.getBodeBottomW( ), cellStyle.getBodeBottomStyle( ),
						cellStyle.getBodeBottomColo( ), 0, null, null, null, 0 );
				buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_LEFT,
						cellStyle.getBodeLeftW( ), cellStyle.getBodeLeftStyle( ),
						cellStyle.getBodeLeftColo( ), 0, null, null, null, 0 );
			}
		}
		else if( null == cellStyle )
		{
			buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_TOP, null, null, null, 0,
					owStyle.getBodeTopW( ), owStyle.getBodeTopStyle( ),
					owStyle.getBodeTopColo( ),  0 );
			buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_RIGHT, null, null, null, 0,
					owStyle.getBodeRightW( ), owStyle.getBodeRightStyle( ),
					owStyle.getBodeRightColo( ), 0 );
			buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_BOTTOM, null, null, null, 0,
					owStyle.getBodeBottomW( ), owStyle.getBodeBottomStyle( ),
					owStyle.getBodeBottomColo( ), 0 );
			buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_LEFT, nu