Style Sheets
  Home arrow Style Sheets arrow 3D Tabs with CSS2
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  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
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

3D Tabs with CSS2
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2004-08-17

    Table of Contents:
  • 3D Tabs with CSS2
  • The Images
  • The Code
  • The Style
  • Conclusion and All the Code

  • 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

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    3D Tabs with CSS2


    (Page 1 of 5 )

    I hope you had a chance to enjoy my first article on created a tabbed navigation structure with nothing but pure Cascading Styles. With this article we'll move beyond the basics, evolve from the flat colored boxes and lines to nice, rounded 3D looking tabs. This article will provide instructions on creating the images in FireWorks, slicing them correctly, and fitting them into our tab scheme.

    I highly doubt that I need to convince you of the benefits of implementing tabs as a navigation mechanism. If you are unconvinced, or haven't read this article's predecessor, please do that now. But if you feel you're ready to move right into the fancy-schmancy 3D tab creation, by all means read on!

    I am using FireWorks for the image creation and slicing, but I can't force you to do the same. If you have Photoshop, go ahead and use it. If you don't have a decent image manipulation tool, I recommend the GIMP (http://gimp.org/), it's Free Software, and it rocks. But because I initially did this using FireWorks, I'm just going to outline the steps I've already taken. Call me lazy...


    My previous article described in detail how to create some wonderful tabs, and in the end they looked like this:

    3D Tabs with CSS2

    And what we'll have when we'll have this:

    3D Tabs with CSS2

    Much nicer, wouldn't you agree? Let's get into the first step then -- the image creation and slicing.

    More Style Sheets Articles
    More By Justin Cook


       · I don't mean to be too critical, but what on Earth do you mean that it has been...
       · Is there a working example of this?On page 1 of the article (at...
       · completely agree! If you are going to write such articles (especially on css), then...
       · not testing in non-ie browsers? shame on you. you shouldnt call it an article if you...
       · Hi all,Thanks to a very knowledgable person from another forum (i won't name...
       · As for doing this without javascript, you can remove the onClick for the div and put...
       · This asp code doesn't work if your on a page that is not included in the array. This...
       · i should of read the whole article...sorry
       · First of all, stop calling the author "lazy". The guy has written 12 articles for...
       · The real funny thing is this.... These people are all calling the author lazy, but...
     

    STYLE SHEETS ARTICLES

    - Creating Gradients for Individual Containers...
    - Creating Gradients for Web Page Headers with...
    - SEO Scrolling Frames Problem Solved
    - Building Cross-Browser Background Effects wi...
    - CSS: Pseudo
    - Using PNG Images to Build Background Effects
    - CSS: Continuing the Clarification of CSS Cla...
    - CSS: Top Secret Classification
    - CSS: Dimensions
    - CSS: Margins and Padding
    - CSS: Crossing the Border
    - CSS: Text, Fonts, and Tables
    - CSS: Working with Text
    - CSS: Backgrounds
    - CSS for the Newbie






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway