Previous Message
Next Message

Re: [css-d] tables for layout

Sent by Craig Saila on 26 July 2002 09:09


Pam Galloway wrote:
> The W3C Guidelines 1.0 requires that all layout of pages be done without
> tables, using CSS.  I am not aware of what can cbe produced using

Sort of, but not quite. It actually says:
"Do not use tables for layout unless the table makes sense when linearized"
<http://www.w3.org/TR/WCAG10-HTML-TECHS/#tables-layout>

Tables can be okay, if they are arranged in a way that makes sense when 
read from (for example) left-to-right, row-to-row.

> stylesheets yet. Is it possible to produce any design that can be produced
> using tables for layout using CSS. I know that some browsers don't fully
> support CSS, therefore tables for layout may be necessary still.

Just about anything that can be done with tables can be done in CSS (a 
minor exception: vertically-aligning content is a bit trickery to say 
the least). That being said, older browsers don't do things as well as 
the newer ones, making layouts sometimes harder to achieve if you need 
to support Netscape 4.

Going to CSS, if possible, is a much better solution, and is more 
accessible. For more on this see me article at evolt, "Tables or CSS: 
Choosing a layout"
<http://www.evolt.org/article/Tables_or_CSS_Choosing_a_layout/25/21429/index.html>

-- 
Cheers,

Craig Saila
------------------------------------------
[EMAIL-REMOVED]  :  http://www.saila.com/
------------------------------------------
Previous Message
Next Message

Message thread:

Possibly related: