HTML and CSS Reference
In-Depth Information
menu, give the list items a defined width, and float them left. It's a good idea to give the unordered list a height
to avoid alignment problems with subsequent elements. The list items also need a height if you plan to use
background images or CSS sprites.
In the next chapter, we'll unravel the mysteries of CSS positioning and create a CSS drop-down menu
without the need for JavaScript.
Search WWH ::

Custom Search