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 12-02-2012, 07:09 PM   PM User | #1
rry2k
New to the CF scene

 
Join Date: Dec 2012
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
rry2k is an unknown quantity at this point
sub-menu issue

Hi I'm new to this site so hello to all. I just created my first menu which is exciting but I am having some formatting issues. On the drop-down for the submenu a big block is created that extends into the next menu item on the right. I just want the block to be as wide as the menu item selected and directly under that option. The site is www.utu171.com/coolmenu.html and the menu in question is under "Forms"

Thanks..Russ
rry2k is offline   Reply With Quote
Old 12-02-2012, 09:01 PM   PM User | #2
Junsee
New Coder

 
Join Date: Jun 2012
Posts: 42
Thanks: 4
Thanked 5 Times in 5 Posts
Junsee is an unknown quantity at this point
if you post you css that would be a help
plus I always find that border: 1px solid #f00; good for seeing invisble borders so I know where the box is.

its this line -webkit-padding-start: 40px; thats pushing all the menu list items 40px out.
Junsee is offline   Reply With Quote
Users who have thanked Junsee for this post:
rry2k (12-03-2012)
Old 12-02-2012, 09:25 PM   PM User | #3
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello rry2k,
Have a look at changing your padding. Right now the dropped anchors are padded like the parent anchors.
Something like this might get you started - #coolMenu li ul li a {padding: 0;}
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
rry2k (12-03-2012)
Old 12-03-2012, 05:13 PM   PM User | #4
rry2k
New to the CF scene

 
Join Date: Dec 2012
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
rry2k is an unknown quantity at this point
Smile

Wow padding was the answer thank you SO much!!!
rry2k is offline   Reply With Quote
Reply

Bookmarks

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 05:49 PM.


Advertisement
Log in to turn off these ads.