Results 1 to 3 of 3

Thread: Chrome CSS Drop Down Menu issue with Firefox

  1. #1
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Chrome CSS Drop Down Menu issue with Firefox

    1) Script Title: Chrome CSS Drop Down Menu (v2.01)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

    3) Describe problem:
    Greetings, I just started putting together a new webpage and have been experiencing an odd issue with the Chrome CSS dropdown. When using Firefox, any time the menu div is sandwiched between two other floats it stretches up to fill the space of the float above it. The menu works flawlessly in IE.

    If it is the div on the top, or the div on the bottom it works fine.
    http://www.draconys.com/test/broken.html

    In that page, it is between the header and left divs and stretches up into the header.

    http://www.draconys.com/test/working.html

    In that page, i have two of them listed, the first one between header and left does not work, but the one below the footer does.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Since your header DIV is set to float left:

    Code:
    <div id="header"></div>
    The Chrome Menu UL needs to clear that float in order for the header to not spill over to the menu:

    Code:
    	   	<div class="chromestyle" id="chromemenu" style="clear: left">
    			<ul>
    				<li><a href="http://www.dynamicdrive.com/">Home</a></li>
    				<li><a href="#" rel="dropmenu1">Resources</a></li>
    				<li><a href="#" rel="dropmenu2">News</a></li>
    				<li><a href="#" rel="dropmenu3">Search</a></li>
    			</ul>
    		</div>
    That should do it.

  3. #3
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, that did the trick.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •