Developer's manual

Adding it to the page

How you add the list HTML depends on whether you're using absolute or relative positioning (for these purposes, if you're using popup menus that counts as absolute positioning). If you're not sure what kind of positioning to use, please see Choosing a positioning mode.

If you're using absolute positioning:
Put the list at one end of the body - either the very beginning or the very end, outside any other containing elements.
If you're using relative positioning:
Put it wherever you want the navbar to be. Note any that CSS which applies to its containing element(s) will cascade down to the navbar list, which might affect it; see Global styles for more about that.

You can put a relatively-positioned navbar inside one or more containing elements, and position or float those as you need. You can also have an absolutely-positioned navbar inside a relatively-positioned container, and if you do then it's x, y co-ordinates will be from the origin of the container. I don't recommend that if you're using fixed positioning - the end result will be very different between browsers.

If the navbar is anywhere except the very end of the source code, you'll need some kind of "skip" link.


Search

We would like your feedback! Take the UDM4 Survey!

UDM 4 is valid XHTML, and in our judgement, meets the criteria for WAI Triple-A conformance.

-