webdesigndelhi — 2013-02-12T06:35:33-05:00 — #1
Is CSS really a better way to design a website than a tables. Can i work on css in graphic user interface format like tables.
richardaskew — 2013-02-12T06:54:15-05:00 — #2
Yes it is, using tables is avery old fashioned away of laying out a webpage. CSS is much more flexible and you will get more control over your layout. In addition to that tables don't always print well, take longer to load and aren't great for accessibility.
Tables still have their place, just not when laying out an entire page.
stevie_d — 2013-02-12T07:36:29-05:00 — #3
CSS is vastly more powerful and sophisticated than using layout tables. It is perfectly possible to use CSS layouts in a graphical interface, although it does take a bit more effort to set up initially – you need to really understand the design and structure yourself rather than just relying on WYSIWYG tools to create it for you – but that never worked reliably for table-based design anyway, not if you wanted it to work properly on a variety of devices.
webcosmo — 2013-02-12T12:29:59-05:00 — #4
Yes, CSS is a better way than tables, the future is table-less coding by using CSS. But there is no "real-life" or practical benefits of replacing <table> tag with <DIV> tags and using full CSS to display the webpages optimized for the popular browsers. The benefit is that using table-less your code will be more clean and you will be able to "templatize" everything, reusing those css properties.
dresden_phoenix — 2013-02-12T12:54:10-05:00 — #5
But there is no "real-life" or practical benefits of replacing <table> tag with <DIV>
There is, ( for starters you have replaced the SEMANTICALLY incorrect TABLE tag for non tabular data) , still it does waste the potential for a having actually well coded design.
Can i work on css in graphic user interface format like tables.
one can do anything if one knows how.
THE IMPORTANT THING TO KNOW, is that CSS helps you SEPARATE content from layout ( what I assumed you mean by " graphic user interface format". If you are still trying to make the page content dependent on it's layout then you will get it wrong even if using DIVs.
Create a WELL STRUCTURED HTML document FIRST. Then use CSS to style/display the content as desired.
felgall — 2013-02-12T13:28:11-05:00 — #6
You shouldn't be doing that anyway. You should be using the most semantically appropriate tag around each piece of content. In most cases that will not be taboe or div but something else entirely.
Using divs all over the place in your page only gains minor advantages over using table - both are wrong for most of the same reasons.
stevie_d — 2013-02-12T13:46:17-05:00 — #7
If that's all you're doing with it then no, there isn't any benefit to it ... because that's not the right way to create a CSS layout. With HTML+CSS, you start with the document structure, and build the visual presentation from there. This gives you much more streamlined code than either layout tables or simply recreating a layout table structure in <div>s. You're missing all the opportunities that CSS has to improve the suitability of your code, to give more flexibility in the way you present the page and to alter the presentation for different devices (eg a different layout for mobiles).