View Full Version : CSS Dropdown Menu Alignment Issue in FF & IE

05-31-2012, 11:32 AM
Hi guys, I'm working on a drop down menu over here: http://yooperdaily.com/loft14design/public_html/index.html

It's the 'Electrical' tab.

It's working flawlessly in Chrome, but in FF and IE the submenu doesn't align to my li tag properly. It seems to be aligning all the way to the left where my nav div starts.

I was able to get it to align properly in Chrome by setting my Electrical li tag to position: relative, and my drop down menu to position: absolute.

What gives in FF and IE, any ideas??

05-31-2012, 11:56 AM
Try adding left: 0; to #tnav li ul

05-31-2012, 12:52 PM
abduraooft, I owe you one :) Thank you so much.

btw, how do you officially give thanks to someone?

05-31-2012, 01:04 PM
There's nothing 'official'. Just click on the green http://www.codingforums.com/images/buttons/post_thanks.gif button at the bottom of the post when you find that post helpful. :)

06-01-2012, 02:40 AM
Strange, that button doesn't appear anywhere on my screen. Must need to meet a certain number of posts requirement or something before I can thank people.

[Edit] sry nvm, Just had to log in again.