d-programming-language.org template

Serg Kovrov dyh at pathlink.com
Thu May 18 06:28:32 PDT 2006


Hi Tiberiu Gal, you wrote:
> just css? why? what's wrong with tables?
> I know what's wrong with tables, I also know what's wrong with css, I preffer
> tables for layout, I only use css for text formating (that's may way)
I know that you know it but... The usage of tables in markup is meant 
for tabular data. Not for page layout. Unfortunately the dark age when 
there was no standards make this as a common practice. Properly 
structured markup is like properly designed application - its might be 
harder or time consuming, but always better.

Besides there is a practical reasons not to use tables and/or images 
for layout. Inflexibility - tables layout couldn't be changed without 
altering markup. With CSS-controlled layout it is possible to change 
different layouts 'on fly', or if user work with small screen/window he 
could 'flatten' layout by turning off style. Bloat - unnecessary images 
and/or tags makes site to waste everyones traffic with no purpose.
And (I'm little bit afraid to say this aloud, but..) with CSS-controlled 
layout there is further separation data from presentation.

> I make everything a bit more bombastic, that's how I work. it's not always
> the best option, I know...but it says "this is different, this is not like the
> rest, we have something special". many people go for the image and the content
> is left behind.
If you haven't yet (although i'm sure you have), please look at CSS Zen 
Garden project (http://csszengarden.com/) - nothing prevents people from 
make 'bombastic' things with css-controlled layouts. However I prefer 
stylish ones.

PS. It is a little bit wrong forum to discuss this topic (no offense, of 
course).



More information about the Digitalmars-d mailing list