Page is a not externally linkable
- Hardware and OS Related Technologies
-- Website Technology Issues
---- Div Or Table


lucy24 - 4:17 pm on May 16, 2011 (gmt 0)


Awright, where's that "rolling on the floor laughing hysterically" emoticon?
<center>
<table cellpadding="4" border="0" width="81%" height="99">
<tr>
<td bgcolor="#e8e8f4" height="100%">
<center>
<table cellspacing="1" cellpadding="0" border="0" width="100%" height="100%">
<tr>
<td bgcolor="#FFFFFF" valign="middle">
<center>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td valign="middle">
<a name="home"></a>
<a href="/">
<img src="/gfx/logo.png" align="left" border="0" hspace="7" vspace="0" alt="homepage" title="homepage"></a>
<font size="1" face="arial" color="#000000"> Welcome <b>lucy24</b> [inbox] <br> <a href="/stickymailv5.cgi?action=controlpanel">

et cetera :)

Tables can definitely be overdone, but watch out for a tradeoff in the other direction. When you use <div>s for horizontal layout, sooner or later a forced pixel size will creep in-- either for text, overall layout or both. And there go your vision-impaired readers out the window.

If you can do it in five minutes with a table or spend all day tearing out your hair trying to make a fully interoperable div, heck, go with the table. Browsers can get snarky about floats and fancy business, but they'll always display tables. Even if the CSS gets lost.


Thread source:: http://www.webmasterworld.com/website_technology/4312948.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com