Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

98 users online



table spacer

table spacer

Currently viewing this thread: 1 (0 members and 1 guests)


desertfox

desertfox

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>

eljaysun

eljaysun

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?

___________________

http://image.eljaysun.com/hosted/neversidian_small.gif
Portfolio - Blog | Posts: RSS
Join me in Neverside's Photography Discussion Channel: #photo

desertfox

desertfox

Neverside Newbie
Status: Offline!

SHould i use css instead

Xuberant

Xuberant

^ 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

freak

freak

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)

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0075 seconds.