Separating Design from Content (html/css)
More and more people are turning to CSS to separate as much as of their design from the content and more importantly to free their html layout from the shackles of tables. Tables are thus best left for tabular data display. I had nurtured myself a layout done purely through CSS 2.0 and a doctype of XHTML 1.0 transitional a few weeks back, Philippe Wittenbergh was helping me with the layout, trying to get around to it using many hacks. But in due course of hacks over hacks, one day my site get caught in the ALA cut of bug, or the "guillotine bug".
Bugs and their hacks! Read about the "3px jog", the Tan hack and the IE5 Mac hack.
Then it was time to think over and do a hackless CSS layout as much as possible, so I settled with the present simple layout based on XHTML 1.0 transitional doctype powered by a mix of CSS 1 and CSS 2. And yes, at this juncture, let me tell you that the last ditch problem in validating the CSS was, that of the CSS from the updated MTCodeBeautifier with the whole bunch of codes, I had to modify that to validate as a valid CSS 2.0. At the moment, I had just completed the modification for the Actionscript syntax style sheet, and most likely I will have to modify some MTCodeBeautifier file for the same.
While struggling to do a tableless (yes, no tables at all) for this site, I came across and learnt a lot from the following sites regarding CSS, their techniques, tips, tricks and hacks. Head over to the links listed below and learn some cool stuffs. Remember CSS is being supported more and more by most modern browsers and many other applications, so it is a good thing to learn something along the way.
CSS related worth mentioning links
(a) eric meyer's website,
(b) the css wiki,
(c) a list apart's css layout technique,
(d) blue robot, how can you miss this one,
(e) the noodle incident,
(f) glish, a good resource,
(h) css shark,
(i) nc design, rather basic but still good for a start,
(j) nu blog, care for css for print,
(k) real world style, styles that works with antique browsers too,
(l) w3 schools' css
and how can I forget the css link on
More Links Update (updated on Thursday, November 6, 2003 from Jeffrey Zeldman's CSS smorgasbord)
CSS Text Propeties
Fast Rollovers, No Preload Needed
Red Melon experiments
Pure CSS popups
CSS Hints for IE5
Netscape-4-compatible CSS layouts
CSS browser hacks
Hiding CSS from old versions of Opera
Hiding CSS from various browsers
Using CSS to style email