CSS for horizontal tab menus

Monday, July 28th, 2008 anna-marie

I am having some fun (not!) in finalising some clean elegant css examples for my tab menu widget. I’m fussy - I want minimal markup, minimal css, no hacks & future proof code, as well as demonstrating or allowing a variety of styles.

Some difficulties so far:

list item (ol/ul li) white space

Yes it is there - for both Firefox and Internet Explorer! Not a problem if you want to space your menu items out, and/or are not doing interesting stuff with backgrounds. The answer for the widget I’m working on seems to be to have concise code!

See the test page with image examples here.

Rob Glazebrook has some comments on the whitespace problem here.

Some example ideas:

SMH example

SMH example

More later…..

Related posts:
  1. Making a set of nested div’s clickable like a link or href element The need: make a set of nested div’s clickable, like...
  2. Why horizontal scrollbar? You think your html and css looking good and then...
  3. Horizontal Tab Menu Widget The Tab menu widget is available. I am still fiddling...

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*