CSS Tabs based menu systems are really improving instead of all the classic button based navigation. This small tutorial will help you create a image based liquid tab using CSS and xHTML. Yes... there are lot other ways getting this done... but for those who are new, this could sure help.

We just tried representing this whole process in a 3D view... not sure if we have messed it up but sure you will understand as you go on below (don't forget the DEMO). We are just adding a SPAN tag into the standard xHTML based navigation + a few CSS Attributes to them.

ul li{ float:left; padding:0 5px; list-style:none; } ul li a{ background:url(/* LEFT IMAGE */) no-repeat left top; height:45px; display:block; float:left; padding-left:20px; text-decoration:none; color:#000; } ul li a span{ background:url(/* RIGHT IMAGE */) no-repeat right top; display:block; padding:15px 20px 0 0; display:block; height:30px; float:left; } Hope you understood the concept behind this... If still NO, take a look at the Live Demo below: Demo Don't forget to take a look at the Source Code of the Demo too... (Right-Click and View Source)
Comments
This is an excellent tutorial. I love liquid design!
Nice clear presentation. Hey I was wondering how do you make a hover over color appear over text using CSS. www.tristanstroud.com is my first website. I'm trying to spice up my portfolio page. I'm studying web design at Uni. Any tips or critiques would be greatly accepted thank!
What a great explanation for a beginner/hobbyist. Thank You Very Much.
Also, Thanks to Shaun Morrison for his input.
Online daily for three months or more before you if it is almost time for your next dose, wait finasteride is in the fda pregnancy category x.
oklahoma city accutane lawyer
:-p I'm going to be taking a lot of medicine for a while, which makes me unhappy, but works out for the best, probably.
pittsburgh accutane attorney
The truth, frankly, is much more absurd than my erroneous jokes.
welldone dude,
more work in less words. I like that.
good graphics, nice tutorial
Yeah this is the best way make tabs (sliding doors).
useful article, thanks
Nice tutorial! I have a better understanding how tabs can be achieved with css.
How did you make your tabs with out the rounded corners on the bottom of the tab? I can't seem to figure this out other then slicing it.
Thanks
Hi. Can you be more specific for the 'span' part? Plus, how to apply this if i'm using wordpress menu function? (wp_list_pages)
Post new comment