Dezinerfolio

Creating Liquid CSS Tabs for Menus

Your rating: None Average: 4.2 (57 votes)

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.

Liquid Menu Tabs

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.

Liquid Button

The CSS:

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)

Trackback URL for this post:

http://www.dezinerfolio.com/trackback/154

Comments

Anonymous's picture

This is an excellent tutorial. I love liquid design!

Ares download (not verified)
Mon, 10/19/2009 - 09:53
Anonymous's picture

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!

Anonymous (not verified)
Fri, 06/19/2009 - 10:12
Anonymous's picture

What a great explanation for a beginner/hobbyist. Thank You Very Much.

Also, Thanks to Shaun Morrison for his input.

Sue (not verified)
Tue, 01/06/2009 - 12:21
Anonymous's picture

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.

Nainuessubs (not verified)
Thu, 12/11/2008 - 13:32
Anonymous's picture

welldone dude,
more work in less words. I like that.

suraj (not verified)
Wed, 08/27/2008 - 17:02
Anonymous's picture

good graphics, nice tutorial

css (not verified)
Sat, 08/02/2008 - 22:16
Anonymous's picture

Yeah this is the best way make tabs (sliding doors).

website design (not verified)
Mon, 05/26/2008 - 02:02
Anonymous's picture

useful article, thanks

fresh (not verified)
Sun, 07/13/2008 - 07:17
Anonymous's picture

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

Bridges (not verified)
Mon, 04/21/2008 - 10:08
Anonymous's picture

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)

One Winged Angel (not verified)
Fri, 03/07/2008 - 02:09

Post new comment

The content of this field is kept private and will not be shown publicly.

Visualize