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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page layout via CSS 1

Status
Not open for further replies.

jakeyg

Programmer
Mar 2, 2005
517
GB
All my sites have tables in to set the layout
I've read a few posts around various places about using CSS instead, tables being "dirty" as someone said in a post here :)

What are the advantages/disadvantages of using CSS instead of <TABLE>?
Is there a FAQ or how-to guide someone can point me at so I can start doing things cleanly

thanks
 
being once a win32 programmer, i prefer dealing with resizing and positioning of my widgets. using css, gives you this exact power, everything fits as necessary depending on the logic u set. this way, u are unlikely to find any pecularities caused by tables. on the otherhand, it does take a bit more code for css and javascript to replicate tables

---------------------------
WORD OR VOTE TO THE WISE IS ENUFF...;)
 
Here's why: . You can also read this: for a broader overview of the "web standards" thing. This page of advice from apple: is pretty sound, and includes the use of "minimal tables" when you can't go the whole hog.

Searching this forum, and/or googling for "CSS layout" (and similar) will find you plenty of examples to look at.

sirlojik said:
it does take a bit more code for css and javascript to replicate tables
That may or may not be the case for a single page, depending on the complexity of its layout. But it almost invariably means less (X)HTML code on each page, with the bulk of the code being loaded once in a CSS file (and maybe a JS file too).





-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Cheerz, that'll keep me in reading material for a bit
 
Found that one off the links
It's good to see what can be done, if only I could find a use for it :-( Time to restart the company website again ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top