1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
<html>
<head>
<title>Bug 2997</title>
</head>
<body>
<p>Here's the original case. All of the cells have images that fill to
their given widths except the ones marked "Empty".</p>
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty</td></tr>
</tr></table>
<p>If we fill either empty out with text, the problem goes away.</p>
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty - lots of text here now - and more and more and more text in it</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty</td></tr>
</tr></table>
<p> </p>
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty - this has lots and lots and lots of text in it</td></tr>
</tr></table>
<p>Taking away either the cellpadding=0 or cellspacing=0 fixes the problem.</p>
<table width="566" bgcolor="#00FFFF">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty</td></tr>
</tr></table>
<p>As does removing the explicit width on the table...</p>
<table bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
<td bgcolor="#009999" width="199">Empty</td></tr>
<tr>
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
<td bgcolor="#990099" width="199">Empty</td></tr>
</tr></table>
</body>
</html>
|