More Eric Meyer on CSS by Meyer Eric A

More Eric Meyer on CSS by Meyer Eric A

Author:Meyer, Eric A. [Meyer, Eric A.]
Language: eng
Format: epub
Tags: Non-Fiction, Reference
ISBN: 0735714258
Publisher: New Riders
Published: 2004-01-02T07:00:00+00:00


Special Submenu Styles

Take a moment to catch your breath, and then we'll move on. The yellow highlighting of the submenu links served its purpose, but now it's starting to look distinctly icky. We still want a visual indication of which menu entries will open a new menu, so let's replace the yellow with a background image of a small arrow called submenu.gif.

div#nav li.submenu {background: url(submenu.gif) 95% 50% no-repeat;}

This will place a single instance of the image 95% of the way to the right of the submenu list items and vertically centered, as shown in Figure 6.7.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.