Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table row height not Wysiwyg

Status
Not open for further replies.

delorfra

Programmer
Mar 8, 2001
79
FR
My page draws a bar chart. When the x-axis is displayed in Explorer, the height is as expected. However, in display mode(Explorer 5.5) or when printed, the height of the row containing the axis (a gif image) is much larger creating a blank zone between the zone with bars and the x-axis.
Here is my code :
<TD ALIGN='top' COLSPAN=12 HEIGHT=1><IMG SRC='/images/orange.gif' HEIGHT=1 WIDTH=720>

Is it a bug or anything else ?

Thanks.
 
Delorfra: height is the minimum height. Cellpadding>0 consumes
space. 3D-lines consume space. I don´t know whether border=0
consumes space.
It´s recommended to use minimum height of 10 for a cell
(if cellpadding=0) or larger. Text in a small
cell increases the height also, even &nbsp.
Rough estimate for 1024x768, 17&quot; monitor: 3 pixels=1mm .
--Gernot
 
The problem came from forgetting to close the tag </TD>
which had an unexpected behaviour on Internet Explorer just in printing mode.

In fact, all my tags are left unclosed in this page. I thought that it would do no harm whatsoever. I was wrong.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top