Home arrow Style Sheets arrow Improving the Visual Presentation of a CSS Drop-Down Menu
STYLE SHEETS

Improving the Visual Presentation of a CSS Drop-Down Menu


Welcome to the final installment of the series “Building clean drop-down menus with CSS.” This series shows you how to build an extensible drop-down menu which you can easily include in the existing structure of your own web site. In this part, we'll work on the menu we've created to make it more visually appealing.

Author Info:
By: Alejandro Gervasio
Rating: 4 stars4 stars4 stars4 stars4 stars / 5
October 29, 2008
TABLE OF CONTENTS:
  1. · Improving the Visual Presentation of a CSS Drop-Down Menu
  2. · A review: the menu’s complete source code
  3. · Improving the look and feel with additional CSS styles
  4. · Setting up a working example

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Improving the Visual Presentation of a CSS Drop-Down Menu
(Page 1 of 4 )

Drop-down menus are one of the most popular and useful elements of web-based user interfaces. However, building them using a clean, tight (X)HTML structure is a skill that requires some time to master. Based upon this concept, this series of friendly tutorials guides you through the procedure for creating a highly-accessible drop-down menu, by utilizing only well-structured markup, along with a few simple CSS styles and some JavaScript code.

In the last tutorial, I used numerous code samples to show you how to modify the original source code of the menu to make it compatible with Internet Explorer 6 and below. Of course, as you might have guessed, this adaptation was performed with the assistance of a simple JavaScript function whose main objective was to display/hide the corresponding menu items via the programmatic manipulation of their respective class attributes.

Indeed, the definition and implementation of the aforementioned JavaScript function wouldn’t be necessary actually, if IE 6 had the native capacity to support the “hover” CSS pseudo-class for all of the elements of a given web document (not only links), but right, as far as Microsoft web browsers are concerned, this feature is only available in IE 7.

All right, now that I have reviewed the concepts deployed in the preceding article of the series, I think it’s time to talk about the subject of the current tutorial. IN this final part of the series I’ll show you how to introduce some minor changes to the original CSS styles of this drop-down menu to make it look visually appealing and eventually more professional.

Hopefully, when you finish reading this article, you’ll have at your disposal a true cross-browser drop-down menu, which can be included in your existing or future web site. So, are you ready to start? Okay, let’s go!


blog comments powered by Disqus
STYLE SHEETS ARTICLES

- CSS Combinators: Working with Child Combinat...
- CSS Combinators: Using General Siblings
- Intro to CSS Combinators
- CSS Semicircles and Web Page Headers
- Drawing Circular Shapes with CSS3 and Border...
- More CSS Pagination Link Templates
- CSS Pagination Links
- Animated CSS3 Image Gallery: Advanced Transi...
- CSS3 Animated Image Gallery: Transitions
- CSS3 Properties: Fixed Heights with box-sizi...
- CSS3 Properties: Altering Strokes and 3D Eff...
- CSS3 Properties: Text-Stroke
- CSS3 Transitions: Width and Height Properties
- Creating a Drop Down Menu in CSS3
- Intro to CSS Transitions

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 10 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials