Navigator/Explorer Comparison


tables and colors

how NN and IE handle table coloring

page 5 of 5


table of contents

making an empty cell

Now let's take out the cell data "cell1". We'll color the background of the table yellow and the empty cell red.


<table border=1 bgcolor=yellow width=50 align=left>
<tr>
<td bgcolor=red></td>
<td bgcolor=blue>cell2</td>
</tr>
</table>

we see in NN4.7:we see in IE5.0:
NN4.7 yellow table with two colored cells and empty data IE5.0 yellow table with two colored cells and empty data

IE5.0 leaves some kind of default cell size, even though there is no data in the TD tags. NN4.7 shows no cell, just a thick border.

§
top

forcing the cell open

Let's try to force the first cell open by setting up two cells in another row, like the earlier tables.

<table border=1 bgcolor=yellow width=50 align=left>
<tr><td bgcolor=red></td><td bgcolor=blue>cell2</td></tr>
<tr><td bgcolor=blue>cell3</td><td bgcolor=red>cell4</td></tr>
</table>

we see in NN4.7:we see in IE5.0:
NN4.7 yellow table with one empty cell IE5.0 yellow table with one empty cell

NN4.7 refuses to color the cell if it's empty. It provides border where the cell should be.

§
top

forcing open the cell with a space

Let's try to force NN4.7 to accept the empty cell by filling it with a control character, like a non-breaking space entity. The entity for a non-breaking space is &nbsp.

<table border=1 bgcolor=yellow 
 width=50 align=left>
<tr><td bgcolor=red>&nbsp;</td>
 <td bgcolor=blue>cell2</td></tr>
<tr><td bgcolor=blue>cell3</td><
 td bgcolor=red>cell4</td></tr>
</table>

we see in NN4.7:we see in IE5.0:
NN4.7 yellow table with nbsp filling cell IE5.0 yellow table with nbsp filling cell

We see that NN4.7 is now willing to color and hold open the "empty" cell.

§
top

useful links

resources
Adaptive Text Colors an article by paul anderson for cnet builder.com. covers coloring tables and text for css and non-css browers

§
top

resources
Four Corners Effective Banners This site is dedicated to the study of all things banner-like, including: banners, click-through ratios, banner advertising, banner link exchanging, etc. You'll learn how to improve your banners and increase your site traffic.
Free Site Tools A webmaster's directory of free resources to help find about everything to build, maintain and promote your website. 1000+ Resources.
Free Webmaster Tools and Resources Your center for absolutely free high quality webmaster resources and tools to manage your web site. All utilities, programs and sites are carefully selected.
EZSearches.com Want access to free email, auctions, shopping bargains and more?  Try EZSearches.com
Akron Computer Repair A great computer repair company that does in-home visits or drop-off.
Cool Candle Shoppe Candles Place is a great site that if you're looking to purchase some great wax sticks, I'd go here.