Welcome to WebmasterWorld Guest from 54.196.212.62

Forum Moderators: not2easy

Message Too Old, No Replies

Adjusting margins for dropdown menu list

     

camasb

10:12 pm on Oct 5, 2011 (gmt 0)



I'm working on a dropdown menu - can anyone tell me how to get a 1em margin between the main menu list items and the topmost dropdown items? I have 1em margins between each dropdown list item = no problem... just can't figure out how to get the same margin between the main menu items and the topmost items that drop down. I tried margin-top and the cursor is not always able to jump the gap to reach the dropdown links, even with just a 0.5em space.

seoskunk

11:34 pm on Oct 5, 2011 (gmt 0)

WebmasterWorld Senior Member Top Contributors Of The Month



use padding

camasb

4:30 pm on Oct 6, 2011 (gmt 0)



thanks...would you be willing to give an example as code? It's easier for me to learn that way.

rocknbil

4:00 pm on Oct 7, 2011 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Guessing you have a mix of Javascript and CSS . . . best to give us a code snippet to see what you're working with (no huge dumps please, try to provide just the relevant bits with anonymous links - use example.com.)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month