Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-31-2012, 10:32 AM   PM User | #1
vbjunks
New Coder

 
Join Date: Dec 2009
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
vbjunks is an unknown quantity at this point
CSS Dropdown Menu Alignment Issue in FF & IE

Hi guys, I'm working on a drop down menu over here: http://yooperdaily.com/loft14design/...tml/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??
vbjunks is offline   Reply With Quote
Old 05-31-2012, 10:56 AM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Try adding left: 0; to #tnav li ul
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Users who have thanked abduraooft for this post:
vbjunks (06-01-2012)
Old 05-31-2012, 11:52 AM   PM User | #3
vbjunks
New Coder

 
Join Date: Dec 2009
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
vbjunks is an unknown quantity at this point
abduraooft, I owe you one Thank you so much.

btw, how do you officially give thanks to someone?
vbjunks is offline   Reply With Quote
Old 05-31-2012, 12:04 PM   PM User | #4
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
There's nothing 'official'. Just click on the green button at the bottom of the post when you find that post helpful.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 06-01-2012, 01:40 AM   PM User | #5
vbjunks
New Coder

 
Join Date: Dec 2009
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
vbjunks is an unknown quantity at this point
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.
vbjunks is offline   Reply With Quote
Reply

Bookmarks

Tags
aligning, css drop down

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:38 PM.


Advertisement
Log in to turn off these ads.