|
| |
|
|
paul rayner
Posts: 205 Joined: 3/15/2001 From: yeppoon, qld, aus Status: offline
|
Are the use of tables with CSS a NO-NO? - 5/22/2003 7:07:31
I' ve followed with interest lately, the use of CSS for menus and other threads. But, I' m a bit confused. If you use a CSS menu, and want to also use FP includes, I think you have to do it via a table. But, in http://www.sitepoint.com/books/css1/css1.pdf, and also other sources, they bag using tables, because they slow things down. Am I reading too much, or is it a valid concern? Have I got it all wrong? IS there a better way? Cheers Paul
_____________________________
" In theory, there is no difference between theory and practice. But, in practice, there is!"
|
|
|
|
abbeyvet
Posts: 5095 From: Kilkenny Ireland Status: offline
|
RE: Are the use of tables with CSS a NO-NO? - 5/22/2003 7:29:45
First off using tables with CSS is not a no-no - though using tables for layout is not the best way to go. Tables are still very important for presenting tabular data. quote:
If you use a CSS menu, and want to also use FP includes, I think you have to do it via a table. No, you don' t have to do it using a table if you are using a css layout. You can include a menu include page in a div on the final page. Basically not using tables does not mean not using ' containers' for various elements of the page. Separating various elements of a page previously required tables as containers for page elements because of the poor browser support for css. This has changed quite dramatically. It is now possible to create containers with css and it is a good way to go. It is perfectly possible to use css to style text and other stuff like that and to continue using tables for your layout, most people start using css like this. Moving to css for layout is a bigger step but one worth making. One of the best sets of tutorials for this that I have found is here
< Message edited by abbeyvet -- 5/22/2003 7:31 AM >
_____________________________
Katherine :: InKK Design :: InKK Domains
|
|
|
|
Thomas Brunt
Posts: 6106 Joined: 6/6/1998 From: St. Matthews SC USA Status: offline
|
RE: Are the use of tables with CSS a NO-NO? - 5/22/2003 17:43:18
I agree about the brow beating. Yes, it' s a good idea to learn to lay out pages with css if you feel like expanding into that, but do note that SitePoint' s html newsletter is layed out in tables. I got my first real web job because I could use css to lay out a page. The guy who hired me said that tables would be gone in a year. That was when IE3 was hot and new. Can' t remember how many years ago that was, but it was long before OutFront was a twinkle in my eye. Table design will become less prevelent, but there' s too much of it in existence to think that it will become unsupported. Look at what happened when NN 6.0 tried nonbackwards compatibility. It was the biggest failure in browser history. A browser that can' t see table design layouts is a browser that can' t see very much of the web. That may be less true in a coupl of years, but it won' t be false. There' s lots of neat things you can do with a bit of css code in a table or a td tag. Anyone who tells you that' s the wrong way to build a site is being dogmatic.
|
|
|
|
paul rayner
Posts: 205 Joined: 3/15/2001 From: yeppoon, qld, aus Status: offline
|
RE: Are the use of tables with CSS a NO-NO? - 5/23/2003 19:48:24
Thanx again to all for some great insight. Apologies for posting to the wrong area.
_____________________________
" In theory, there is no difference between theory and practice. But, in practice, there is!"
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|