[Typo3-dev] any extension developers need html/css templating?

Christopher tombedlam at yahoo.com
Wed Nov 17 17:09:18 CET 2004


Hi,

--- Kasper Skårhøj <kasper2004 at typo3.com> wrote:

> OT...
> 
> > It's hard to get thinking into CSS after abusing tables for so
> long.
> > And I don't think I speak for myself that most coders are terrible
> in changing their way of thinking... 8-)
> > 
> 
> 
> If the W3C really wanted to get rid of tables they should introduce
> the <grid> tag:
> 
> 
> <grid border="0" cellpadding="0" cellspacing="1">
>   <row>
>     <cell width="33%">Value 1</cell>
>     <cell width="33%">Value 2</cell>
>     <cell width="33%">Value 3</cell>
>   </row>
> </grid>
> 
> 
> Be honest everyone, the visual logic of the HTML-code of tables
> totally
> beats the combination of <div> tags and CSS for positioning. Why not
> pay
> respect to the people who have been used to the <table>-thinking for
> so
> long and who have more important things to fill their brains with
> than
> learning new basics of web-layout just for the sake of making it
> differently.
> 
> My suggestion above solves the standard objections that "tables were
> meant to present data, not layout" and screenreaders and Lynx will
> know
> that the <grid> element should be interpreted differently.


I didn't mean to start this thread as yatw (yet another table war);
having said that, there are MANY situations where tables are
usually/often used where there are definitely better alternatives with
respect to flexibility of markup and accessibility.

And Kasper, your solution already exists in the css specs: 

display:table; and display:table-cell;

...give table like behaviours to other block-level elements.

For the record, the w3c does not seem to intend to get rid of tables as
of today...their accessibility guidelines provide suggestions for how
to use tables for layout - something which, IMHO, is still necessary in
some situations.


-Christopher


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the TYPO3-dev mailing list