CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 29th, 2004, 05:28 AM
fizzy's Avatar
fizzy fizzy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Dublin, Ireland
Posts: 100 fizzy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 5 sec
Reputation Power: 6
css dropdown menu positioning problems in mozilla

i am trying to use the suckerfish dropdown menu. starting from the pretty example, i got it going in IE6 but it looked pretty off in mozilla. i tinkered around further the the IE code which changed things a bit there and made things look a bit better in mozilla but not much!
my code is at http://www.fizzycherry.com/menutest.html - i would *really* appeciate any ideas.
the main things really bugging me are:
how can i get the menu bar to fill the width of the screen in mozilla? my navbar div did this before i inserted the sub menus!
once i tinkered with my css, placing padding on the links rather than the li elements, huge vertical gaps started appearing in the submenus in both IE and Mozilla, even with no margins padding and borders. i need to *add* a bottom border (same colour as background) to remove these gaps! why??
ideally i would like the submenus to look somethign like they do in ie6 but even if someone could just tell me how to make the bar fill the screen i'd be chuffed!

Reply With Quote
  #2  
Old April 29th, 2004, 01:54 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,555 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 7 h 49 m 53 sec
Reputation Power: 630
Float elements must have a width.
Code:
#navbar li {
    width: 16%;
    float: left;
    position: relative;
    background-color: #cc6600;
    border: 0;
    margin: 0;
    padding: 0px;
    border-left: 1px solid #fff;
    text-align: center;
    }
That may do it.

cheers,

gary

[mode=crow]This my 1000th post. Most have even been on topic. Thanks to all for your tolerance. [/mode]
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

Ask a better question, get a better answer.

Last edited by kk5st : April 29th, 2004 at 01:58 PM.

Reply With Quote
  #3  
Old April 30th, 2004, 06:18 PM
fizzy's Avatar
fizzy fizzy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Dublin, Ireland
Posts: 100 fizzy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 5 sec
Reputation Power: 6
thanks gary

i had eventually got round it just lately by putting in spacer divs above n below my outer ul inside my div:

Code:
div.spacer
{
     clear: all;
}


but your way seems neater n easier

i'm honoured you wasted post # 1000 on me congrats! maybe i'll get to 100 someday

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > css dropdown menu positioning problems in mozilla


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway