Forum Moderators: not2easy
The main reason I'm hesitant is because there are still older browsers out there who's CSS support is rather flaky at best. Am I incorrect in this notion?
I know how to do it, I'm just interested in hearing reasons Pro or Con towards giving in and doing it.
I had some sort of mental block about css. It took quite a while for me to allow the css to control the flow, but I am please with the results. Not a lot is up yet, but one new site in particular will be almost table free.
almost table freeThere are some legit uses for tables.
You won't be sorry. The effort is quite worthwhile.
jb
now if I could only learn to spell, life would be good.
How does tabeleless design affect content writing?
For example, let's say I've got four widgets, and each widget is priced based on volume (1-10, 11-100, 101+).
It's easy to create a 4x3 table that shows all the prices and discounts. However, if I tell my content writers "we're using tableless CSS design," they will assume that they need to avoid creating content that requires tables.
Is this really the case? Can tableless CSS design allow content writers to create multi-column/multi-row tables for data?
CSS experts might think this is an odd question, but I want to make sure I understand how CSS design principles affect content writing.
Thanks!
edited typo
No it doesn't. In fact, quite the opposite. By the judicious use of CSS you can get your pages to display readably in both Netscape 4 and later browsers. It's as if you're broadcasting in colour, but your pictures look okay when seen on a black & white TV. It's just that some people get disturbed by this...
mcguffin>>For example, let's say I've got four widgets, and each widget is priced based on volume (1-10, 11-100, 101+). It's easy to create a 4x3 table that shows all the prices and discounts. However, if I tell my content writers "we're using tableless CSS design," they will assume that they need to avoid creating content that requires tables.
Mcguffin, you are talking about tabular data here. That is, the content is tabular. CSS is about layout, not content.
You should use a table:
Any attempt to use CSS instead of a table in either of these situations could lead to disaster ;)
Of course, in the former case, you can use CSS to control how the table is displayed.
It's as if you're broadcasting in colour, but your pictures look okay when seen on a black & white TV.
What a great way to put it - you nailed it for sure. You can use many different strategies to avoid having problems with Netscape 4. Here are two examples:
I use a page for forms input, which might look similar to the table display of widgets and prices described above. The left table would have my content, the right table would contain my form. It took a little while, but I did this OK with CSS and no tables. The overall effect is quite nice, my left text is aligned to my liking, as are the input boxes on the right.
Simply from a code perspective I have to believe that generating a document with CSS is a whole lot easier than having to spell out table definitions.