W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 1998

Re: navigation bars

From: Nir Dagan <nir@nirdagan.com>
Date: Sun, 15 Nov 1998 05:47:11 GMT
Message-Id: <199811142036.VAA02015@sahara.upf.es>
To: w3c-wai-gl@w3.org
.Jon asked: 

"Is there any recommended combination of HTML 
and CSS elements in the Page Authoring Guidelines that 
should be used to create WWW site navigation bars?"

In my view it would be best to use the MAP element to 
distinguish a navigation bar rather than using an 
ad-hoc class name.

One should remember that giving special meaning 
to a class name after for two years people are using 
the class attribute for stylesheets may break existing 
pages who accidentally used the same class name for 
some other pupose.

On the other hand, MAP is always used to group links.

MAP elements are usually used to create navigation bars 
with an image, but the spec. doesn't restrict their usage to this.

MAP allows block level elements as content and if a MAP is not 
associated with any IMG or OBJECT a browser will render 
its content.

Regards,

Nir Dagan, Ph.D.
http://www.nirdagan.com
mailto:nir@nirdagan.com

"There is nothing quite so practical as a good theory." 
-- A. Einstein
Received on Saturday, 14 November 1998 15:45:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:46:58 GMT