Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

layout - css or tables 1

Status
Not open for further replies.

joelwenzel

Programmer
Jun 28, 2002
448
I have been planing on making my webpage using css to create the layout. It seems to me to be the best choice since it does not clutter up the page and I would only have to edit the css page the change the whole layout rather then editing every single page.

Still, I keep checking out other professional web sites and their layout is created using tables. Am I making a mistake choosing css?
 
Hi,

Can you use SSI? For the best layout, you should use TABLES then use SSI to include the pages. Then all you have to do is edit one part of the included file and all pages change.

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
CSS Vs. TABLES:

Css is used for changing the font, font-size, font-style, etc. It's main use is changing the DISPLAY of things.

Tables are used changing the spacing, POSITIONING, etc.

Although css CAN be used to change the spacing, it is best used only for size and look of the text itself.


Rick If I have helped you just click the first link below to let me know :)
 
css has lots of position abilities. It's possible to just make a block fill it up with stuff and then place it somewhere on the page. It seems pretty similar to tables to me.
 
Excellent link Sweevo!
There is one thing that this article fails to mention however, and that is - style sheets effect only presentation, not content. That means that even if a browser does not support CSS, all of the content of your page will still be displayed (albeit in a rather ugly way). If you use tables on the other hand, a browser which does not support the tweaks you use on it will display it in an ugly way, and a browser that does not do well with tables at all (ie. text mode browsers) often won't display anything. -----------------------
*doink!*
 
Yeah. I thought that link was a little biased towards css.

But I'm thinking that I might just do it in CSS anyway. How many people use text browsers anyway? I assume that most people today must be using fairly new browsers. Am I wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top