
May 9th, 2005
08:30 PM
Neverside Newbie
Status: Offline!
table spacer
I was just wondering what the general consensus was with making table spacers.
Is this over kill when i write code to put the width in the <table> and <td> with having a spacer image in there to.
<TABLE WIDTH="100">
<TR>
<TD WIDTH="50"><IMG SRC="Red.jpg" height="1" width="50"></TD>
<TD WIDTH="50">TEXT HERE<TD>
</TR>
</TABLE>

May 9th, 2005
09:10 PM
Neverside Newbie
Status: Offline!
I'd say the general consensus is not to use tables. Also, I'd say that, yes, that is overkill. The fewer images to load the better. Finally, why don't you use something like cell padding/spacing?
___________________
Portfolio - Blog | Posts: RSS
Join me in Neverside's Photography Discussion Channel: #photo

May 9th, 2005
09:35 PM
^ Loves CSS
Status: Offline!
Yes, just use divs instead, a lot easier and theres no spacer images necessary. Also a lot cleaner and a lot easier to update and maintain in the future.
___________________
Professional Quality Slicing + Coding for eXtremely low prices
Currently 14 fully functional sites in Portfolio

May 11th, 2005
03:32 AM
Neverside Newbie
Status: Offline!
Originally posted by Xuberant:
Yes, just use divs instead, a lot easier and theres no spacer images necessary. Also a lot cleaner and a lot easier to update and maintain in the future.
Ew, div's. Xuberant, div's can actually be just as bad as tables. It isn't about using a new tag over another, it's more about using semantic (meaninful) markup rather than tag soup. For exmaple, using p's to markup paragraphs, any of the various list elements to markup a list, and basically just using the proper tag to markup the content.
___________________
Tables for layout is an abuse. -- Internet Explorer is unsafe.
Last edited by freak, May 11th, 2005 03:33 AM (Edited 2 times)