biggieuk Posted March 19, 2009 Share Posted March 19, 2009 Hi all, I have created a CSS dropdown menu for my website. To space out the individual menu items i have used a top padding of 5px, however this causes the dropdown to close as the cursor hits the padding space in IE only. Is there a workaround for this? The code for the text item is: #menuh a { text-align: center; display:block; white-space:nowrap; margin:0; padding: 0px 0px 5px 0px; /* height of menu */ } thanks for hel with this. Dan Quote Link to comment Share on other sites More sharing options...
biggieuk Posted March 20, 2009 Author Share Posted March 20, 2009 Just checking to see if anybody has any ideas about this? Is there a way to include the padding in my dropdown menu so that the mouse can rollover ok, like it does in Firefox? Thanks. Quote Link to comment Share on other sites More sharing options...
FaT3oYCG Posted March 22, 2009 Share Posted March 22, 2009 try using line-spacing: instead maybe a value of 1.5em Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.