| <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> |
| |
| |