Style Sheets
  Home arrow Style Sheets arrow Finishing a Casual Navigation Bar with CSS...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
STYLE SHEETS

Finishing a Casual Navigation Bar with CSS Sprites
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2010-03-09

    Table of Contents:
  • Finishing a Casual Navigation Bar with CSS Sprites
  • Review: defining the hover state of the navigation bar
  • Creating the active state of the links bar
  • Activating different sections of the navigation bar

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Finishing a Casual Navigation Bar with CSS Sprites


    (Page 1 of 4 )

    If you’re interested in learning how to use CSS sprites to create engaging, standard-compliant navigational mechanisms that can be used on different web sites with minor modifications, you’ve come to the right place. Welcome to the final installment of a seven-part series that shows you how to build CSS sprite-based navigation bars. This series walks you through the progressive development of a couple of appealing links bars, which use a single background image to define the visual presentation of their sections.

    And now that you know what to expect from this article series, it’s time to review the topics that were discussed in the last tutorial. In that article I demonstrated how to use a CSS sprite background image for styling the “hover” state of the sections of a sample links bar included in the structure of a fictional blog site.

    The entire process was indeed simple, as it only required assigning the correct X and Y coordinates to the pertinent background graphic for each section being styled. It was that easy, really.

    While the bar in its current version is fully functional, and its sketchy look is pretty appealing as well, it’s fair to say that it lacks an important feature that’s common in modern web design. It should visually inform users what section of the blog site they’re currently viewing. That’s exactly the characteristic that I plan to implement in this last episode of the series. This process will be easy to follow since it’ll be similar to defining the “normal” and “hover” states of the bar’s sections.

    Are you ready to learn how to utilize the power of CSS sprites to make this sample navigation bar slightly more functional? Then click on the link below and begin reading!

    More Style Sheets Articles
    More By Alejandro Gervasio


       · This last chapter of the series goes through the definition of the "active" state of...
     

    STYLE SHEETS ARTICLES

    - Styling Pseudo Classes with the RGBA CSS3 Pr...
    - Controlling Overall Transparency of an HTML ...
    - Altering the Border Opacity of an HTML Eleme...
    - The RGBA CSS3 Property: an Overview
    - Using Span Tags to Include Logos in Web Pages
    - Using a Single H1 Element to Include Logos i...
    - Combining Divs and H1 Elements to Include Lo...
    - Semantically Including Logos in Web Pages
    - Adding Text Indentation to Style Code Blocks...
    - Decorating Line Numbers in Code Blocks Style...
    - Changing the Color of Code Lines with CSS
    - Using Ordered Lists to Style Code Blocks wit...
    - Using a Zebra Background Effect to Style Cod...
    - Displaying Rounded Corners Built with CSS3 i...
    - Building Rounded Corners with CSS3`s -webkit...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek