3
<title>Bug 2997</title>
7
<p>Here's the original case. All of the cells have images that fill to
8
their given widths except the ones marked "Empty".</p>
11
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
13
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
14
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
15
<td bgcolor="#009999" width="199">Empty</td></tr>
17
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
18
<td bgcolor="#990099" width="199">Empty</td></tr>
21
<p>If we fill either empty out with text, the problem goes away.</p>
23
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
25
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
26
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
27
<td bgcolor="#009999" width="199">Empty - lots of text here now - and more and more and more text in it</td></tr>
29
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
30
<td bgcolor="#990099" width="199">Empty</td></tr>
35
<table width="566" bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
37
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
38
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
39
<td bgcolor="#009999" width="199">Empty</td></tr>
41
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
42
<td bgcolor="#990099" width="199">Empty - this has lots and lots and lots of text in it</td></tr>
46
<p>Taking away either the cellpadding=0 or cellspacing=0 fixes the problem.</p>
49
<table width="566" bgcolor="#00FFFF">
51
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
52
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
53
<td bgcolor="#009999" width="199">Empty</td></tr>
55
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
56
<td bgcolor="#990099" width="199">Empty</td></tr>
59
<p>As does removing the explicit width on the table...</p>
61
<table bgcolor="#00FFFF" cellpadding="0" cellspacing="0">
63
<td bgcolor="#FF0000" width="222"><img height="40" width="222" border="0" alt="Hometown AOL"></td>
64
<td bgcolor="#666600" width="145"><img border=0 width=145 height=40 alt="Quick Start Link"></td>
65
<td bgcolor="#009999" width="199">Empty</td></tr>
67
<td bgcolor="#0000ff" width="367" colspan="2"><img height="20" width="367" alt=" Welcome"></td>
68
<td bgcolor="#990099" width="199">Empty</td></tr>