CSS Dropdown tabbed menu IE6 compatible needed

I need a drop down menu that’s:

  1. Tabbed with images as the background and text links

  2. CSS driven if possible & standards compliant

  3. Cross browser compatible including IE6

  4. Might have to overlap an embedded flash movie

I was hoping that someone can save me an unknown amount of time trying to find something that fits all those criteria and recommend one? (In the past I’ve often spent ages trying to find stuff like this, found something, spent more time working out how to implement it only to find it won’t work in some poxy browser or other…)

Any help is appreciated! :slight_smile:

Just added a dropline which comes as part of the styling to get the dropdown:
http://www.cssplay.co.uk/menus/inline-dropline.html

and also a flyout which extends the dropdown styling:
http://www.cssplay.co.uk/menus/inline-flyout.html
This one does exploit a bug in IE6 to get it to work in this browsers.

I would imagine that playing around with the styling a little this could be simplified.

Hi Rayzur, thanks for that. I’ve been having a look at it and it seems that the width of the tabs has to be the same as the width of the links in the drop down. I need something that will have tabs only 90px wide but will allow wider links in the dropdown without the words wrappping and appearing to be seperate links.

^everything from google is beta

Hi JJ,

There was a scriptless dropdown for IE6 that was developed here in one of the CSS Quizzes. I think it covers all of your requirements but it is limited to fixed width, at least the stable versions are.

CSS - Test Your CSS Skills Number 27

You can find more info about it here at Timo’s site.

You will find several versions of it scattered throughout the quiz thread but here is a Tabbed Version at CSSPlay

5.0.375.99 beta

Ah, I’m still using beta.

It is perfect in my version 5.0.375.99

Stus menu he just posted flickers like crazy in my Chrome…just saying :slight_smile:

thanks a lot Stu :smiley:

Now to see if we can make it a multi level menu…

yes indeed :P, so far I see no straight answer.
In my opinion a dropdown should never be more than one level anyway.
(says someone who has 5 levels of dropdowns in firefox bookmarks)

It should be fine with em sizing.
I have just posted a full working demo on CSS play with credits to Timo and a link back to this thread:
http://www.cssplay.co.uk/menus/inline-dropdown.html

well considering it works because of text lines and line alignment, i would say em’s are just as good as pixels.

I wonder how well it works with em’s instead of px. I start losing it pretty fast as I text-enlarge.

Yes that’s very clever Stu.:slight_smile: I shall have to have a play around with that when I get some free time :slight_smile:

My goodness!! that’s fantastic!! :smiley:
you’re brilliant stu!
(now there’s yet ANOTHER cross-browser dropdown method)

Success!!
http://www.cssplay.co.uk/test/inline-drop2.html

Tested in all the major browsers including Opera, Safari and Chrome.
It just required an additional <b> element.

Unfortunately Opera, Chrome and Safari do not want to play ball with this menu system (I think that this is due to a bug).
I have simplified the styes a little and have a demo that works in IE6-IE8, Firefox, SeaMonkey, Flock, Avant and Maxthon:
http://www.cssplay.co.uk/test/inline-drop.html

and as this works in all browsers as a dropline (with simple style) I have included this demo:
http://www.cssplay.co.uk/test/inline-dropline.html

I will keep plaing for a while but it looks like Opera, Safari and Chrome have a problem with negative right margins in inline blocks.

[OT]@stunic
as I figured, I was wondering why it was behaving as it was, I also thought for a moment that firefox might be doing something wrong, still it’s another way to make a dropdown :slight_smile:
while I originally made it as a dropline and had it work in all browsers, I thought, wouldn’t it be great if this could be made into a dropdown, which I sort-of managed in some browsers

and thanks for looking into it Stu[/OT]

No problem, I love it when threads evolve organically, take it where you want and thanks for the menu, much appreciated (and still in use on the site).

Anyone can link to this tutorial if they think it is useful.

If I can find the time I will look into your fluid width dropdown to see if there is any way to make it cross browser. I will let you know if I make any progress with this.

[OT]oh wow, haven’t seen this thread going, nice to see the menu is still being fiddled with, would you mind stu if i linked to your tut from my mini-blog, it’s just very valuable info.
also on the topics of menus, I seem to have stumbled into another potential dropdown menu trick.
I currently do not have the time to work out all the problems with it so I might as well throw it out here.[/OT]