Let's make the outer table big enough to circumvent this problem.
Before that, though, it is obvious that the default alignment (ALIGN) for the inner table is LEFT. We might as well set the alignment of the inner, yellow table to CENTER since the previous example revealed the default alignment.
<table border=1 bgcolor=red width=400><tr><td>
<table border=1 bgcolor=yellow width=50 align=center>
<tr><td>cell1</td><td>cell2</td></tr>
<tr><td>cell3</td><td>cell4</td></tr>
</table>
</td></tr></table>
| we see in NN4.7: | we see in IE5.0: |
![]() |
![]() |
| we see in NN6.0: | |
![]() |
In both cases, the center table is able to take up 50% of the width of the outer table. Now let's get rid of the outer table and focus on the width of cells in the inner table.
Below is a table that is 400 pixels wide, divided into forths by percentage. We have the last cell in the row with an assumed percentage of 25%; only the first three cells have their widths fixed at 25%.
<table width=200 border=0 cellpadding=0 cellspacing=0>
<tr>
<td bgcolor=red width=25%>cell1</td>
<td bgcolor=blue width=25%>cell2</td>
<td bgcolor=green width=25%>cell3</td>
<td bgcolor=purple>cell4</td>
</tr>
</table>
| we see in NN4.7: | we see in IE5.0: |
![]() |
![]() |
| we see in NN6.0: | |
![]() |
| 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. |