CSS or Tables?
What is CSS?
CSS stands for cascading style sheets. They are the new technology used to layout and style web pages.
So what happened to old, trusty tables?
For long tables were the only tool available to the web developers to layout their web pages. But with CSS support becoming common, you now have a choice. Both have their strong and weak points, some more than others as you will soon see.
The advantages of tables.
1. Tables have been much longer than CSS, so even today it is easier to find someone who can do a layout in tables.
2. Most of the WYSIWYG editors output table driven layout.
3. CSS support can be buggy, especially in older browsers. So your web pages may display differently in different browsers.
The advantages of CSS.
1. Tables were never designed for layout. So you can get only limited control over layout with tables. CSS is designed for layout. With CSS you can get pixel level control.
2. CSS decouples design from content. So it makes it easier to enforce a standard look and feel across your website.
3. If later you want to change your sites style, it can be as easy as changing one import statement and using external CSS.
4. With nested CSS, pages become large unnecessarily. Moreover until the whole tables is downloaded no part of it can be shown. This leads to a slow website.
So give me the lowdown on this. Which one is better?
With CSS support becoming common, there is no compelling reason to prefer tables. With CSS you get much more control and flexibility. So unless you are unwilling to spend time learning CSS, upgrade to CSS. Today!
Incoming search terms:
- interview questions: table vs CSS (2)
- fpdf multiline tutorial (2)
- table flip css script (1)
- sample codes for birth day wishes from asp net c# web application (1)
- led display vn (1)
- iscroll textarea caret (1)
- is there a tool to change table with CSS (1)
- easyphp module folder 404 (1)
- how to restrict special characters php and mysql in textboxt (1)
- fpdf multiline table (1)
- fetching data from dropdown list using ajax (1)
- effects for web page on new year scripts (1)
- using cascading style sheet in fpdf (1)
You will also be interested in ,
- Image preloader using CSS
- Text Size Switching Using PHP
- Changing link style properties using css
- Context Right Click Menu Using Javascript
- Simple page flip effect using Jquery, css and simple html
- Beautiful Christmas countdown timer complete webpage with css download free
- Change Mouse cursor of your webpage using css
- Image shadow using css and html
- Buzzing or vibrating the login form using jquery
- New horizontal drop down menu using css

