CSS is used to separate STYLE from content.
is a content thing, namely to hold rows and columns. CSS also lets you apply styles to more than one element at a time. So separating styles from content has advantages. Besides, it is recoomended by W3C, the organization that standardizes such things.
For complicated layouts, tables become unwieldy quickly and maintaining the tables becomes an even bigger headache. Now that CSS is implemented across most popular browsers, you can really make layouts that flow nicely in CSS when the browser size changes.
I don't think people hate tables. Tables have just become overused for layout tasks. They will of course continue to be used for showing data grids.
Some newer web designers such as Microsoft Expression Web (free eval download available) let you lay out a page with layers ( sections with CSS attached) rather quickly and the results look good. This product prevents you from writing raw CSS, letting you select and preview attributes instead. Dreamweaver does a good job too, but that product is much more money and overkill for more mundane wen design tasks.
2007-07-10 07:42:34
·
answer #2
·
answered by Anonymous
·
1⤊
0⤋
If you can read some of the above, then you have a good start. CSS is preferable for at least two reasons, in my experience:
(1) If you have to, someday, decide you don't like the layout (say, you get tired of the third column, or it's no longer relevant, or it turns out to be empty most of the time), then it's a real time-consuming hassle to go down the page hand by hand and find all those derned td's and tr's by eyeball and update'em one by one! What grief! With css, and divs, you can just eliminate that third div's definition in one fell swoop. GONE!
It's also a heckuva lot easier to style individual columns (or divs, as it were) and place different amounts of info in them, without having to juggle all those "colspan=2" and "rowspan=2" goobers...
(2) If you give a hoot, screen readers used by the disabled have a real hard time with tables. When the screen changes dimensions due to either font-size increase-decrease or screen-shrinkage or other settings, a div can "shift down" under another (reader-wise) so's the disabled can read it in logical order...
2007-07-10 08:59:34
·
answer #3
·
answered by fjpoblam 7
·
0⤊
0⤋
With CSS you can edit multiple pages in one sitting.
Suppose if you want to change the layout of your page using tables.... you have to go through every single page you have and change the table layout, which would be unproductive especially if you have more than 20 pages.
CSS can be used to create a more flexible design, instead of a boring grid-like table one. Plus, it makes the HTML more readable instead of being cluttered with table, tr, and td tags. CSS is much more elegant.
And there's really no 'hassle' in writing CSS if you know how to design with it. Those who have done CSS before would think tables would be the 'hassle' to write.
There's nothing wrong with tables for a simple personal website, but for more professional and corporate websites, CSS is a must.
2007-07-10 07:39:28
·
answer #4
·
answered by Anonymous
·
1⤊
0⤋
Yes cause tables are static in the page meaning that the style needs to be manualyy changed. using css is better cause it sits outside the page and one chage there refects on any other page you use it on. so it saves time when making changes....yes its worth it cause you can write it once and use it on all the pages you want. and chages on the css would show on those pages...
2007-07-10 07:34:04
·
answer #5
·
answered by newton3010 6
·
0⤊
0⤋
Oh sure, you can go ahead and make your code a complete, unsemantic mess. And programmers can write unreadable code. Will you be appreciated and hired as a decent programmer or designer? No.
But honestly, I suggest you start reading up on accessibility. Indicating semantic meaning is important, because your site may be viewed by more than eager teenagers with 20/20 eyesight and modern browsers.
2007-07-10 07:34:41
·
answer #6
·
answered by csanon 6
·
0⤊
0⤋
I use tables with CSS, it's perfect!
2007-07-10 09:28:31
·
answer #7
·
answered by Maysam 4
·
0⤊
1⤋
its alot more tidier
2007-07-12 10:09:46
·
answer #8
·
answered by DMKNIGHTS 4
·
0⤊
0⤋
Particular message tiped did not come through , please excuse us as we try to fix it .
Thank You .
2007-07-10 07:34:37
·
answer #9
·
answered by Xeon001 3
·
0⤊
1⤋
fedest.com, questions and answers