To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash General Help

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-04-2005, 05:17 PM   #1
SpockBert
Running Plodding & Limping
 
SpockBert's Avatar
 
Join Date: Jun 2002
Location: London
Posts: 587
CSS dropdown menu..works but prob with IE>>

http://www.nitrovortex.com/test/ericMeyer2.htm

After working closely to a version I in this Eric Meyer book I've got a dropdown menu working fine in both FF and IE but theres something I wasn't happy with, I wanted the first label "short" to be guess what..shorter than the rest so the gaps between button labels was more even.

To do this I thought I'd add another class just for that shorter <li> the bits I added and changed were:

div#nav li {position: relative; list-style: none; margin: 0; float: left; width: 7em; border-bottom: 1px solid #CCC;}

and the html:
<li class="submenu"><a href="#">Short</a>

got changed to:

added this:
div#nav li.shorter {position: relative; list-style: none; margin: 0; float: left; width: 5em; border-bottom: 1px solid #CCC;}

and changed the html of that short label to:
<li class="shorter submenu"><a href="#">Short</a>

Here's the result: http://www.nitrovortex.com/test/ericMeyer3.htm

The first option "short" is indeed narrower as I wanted in FF but in IE my changes dont do ~*&%

Does IE not like nested classes? can anyone see why this aint working in IE?
SpockBert is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash General Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:34 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.