W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2003

Re: navigation banner in css.

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 23 Jan 2003 07:12:56 +0000 (GMT)
Message-Id: <200301230712.h0N7Cu007383@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org

> This technique is cool - but I like adding a <ul> container around
* the <a> so that it will display properly inside of lynx/older browsers.

<a> is not a valid direct subordinate of <ul>, only <li> is.  As given,
this example is non-compliant because there is only white space between
links, so the links cannot be easily distinguished.  You would probably
still be on the wrong side of the borderline if you structured the whole
menua as a list (which is valid structure - there used to be a directory
list type that was never distinguished by browsers, but ought to have
produced the intended layout), and then styled out the list and used
content CSS attributes to insert the necessary separation.

Using invalid HTML for presentational effect is the sort of tag 
soup, HTML as a page description language, coding style that causes
a lot of accessibility violatiions.
Received on Thursday, 23 January 2003 02:25:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:08 GMT