Re: navigation banner in css.

> 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 UTC