Submit Your Article
Home Articles News Tutorials Videos Add An Article
Topics: Design Photoshop Programming PHP CSS Java Database Web Development Javascript Ajax
– Close + Open

Find Out More About DevWebPro!

Sign up for the newsletter


» Terms & Conditions

Welcome to the New DevWebPro!

DevWebPro Includes:
  Hundreds Of Tutorials   Developer News
  Unique Gadget Videos   Tons of Topics to Discuss
  Expert Advice   We Will Publish Your Articles

Accessible Tabbed Navigation

By: Kasted
Monday, January 1st, 2007
Text: Decrease Font Size Increase Font Size | Print Print Article | Share: Delicious Digg StumbleUpon Post to Twitter Post to Facebook

acess-tabs.jpgIn this tutorial we will create a simple tabbed navigation. These tabs allow resizing, and text changing for people with vision problems, and high/low resolution monitors. These tabs also only use 1 image, and unobtrusive HTML and CSS code, lets get started!

First off we’ll start off with our image. We only have to use one image with the technique, the advantages to this is that your browser only has to send one request for the image, and saves bandwidth, and lowers load times. Another reason for one image is that it is bigger wide, and tall, so that when resizing text you don’t get any cutoff images or broken looking pages.

Now for the code, below the the CSS code we are using for the navigation. Here it is:

Now that we have our CSS, lets move on to the HTML code we will use. It is just a simple Unordered List with span tags inside.

And thats it! You can view the demo here, and you can download all the files used here.

Topics: , ,

About the Author:

Leave a Comment

DevWebPro is an iEntry Network ® publication - © 1998-2010 All Rights Reserved