W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2005

RE: Inline Style Sheet Question

From: Rebecca Cox <Rebecca.Cox@intergen.co.nz>
Date: Wed, 6 Apr 2005 08:19:57 +1200
Message-ID: <16446983F8930B44BD3D0C296AC99F960150AB73@wlgex3.intergen.org.nz>
To: <w3c-wai-ig@w3.org>

> style sheets.  I have a data table that uses styles in the <table> and

> <td> tags.  Would these styles be considered inline styles and fail 
> section 508?  Here is an example of my table:

Although all may be OK for 508, styles in style attributes are
considered less desirable than  inline style elements in the document,
because they completely fail to separate the styling from the content.
External style sheets allow for alternative style sheets, encourage a
consistent styling across the site and reduce bandwidth after the first
page for the site is loaded.

Unfortunately sometimes you need to use a few inline styles for DHTML -
eg to set an initial property that can then be reset using scripting.
This doesn't make pages unusable when scripting or stylesheets are
disabled if you are careful.
Received on Tuesday, 5 April 2005 20:20:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:25 UTC