CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 23rd, 2012, 09:47 PM
mxood mxood is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 1 mxood User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 47 sec
Reputation Power: 0
Css drop down menu

hi i have a drop down menu which i acquired from some site a while ago and have been playing with it for a while now.
i have customized and used cheap shortcuts to fixing many of the problems i face but the size of the drop down is way too much. and i fluctuates with a padding size i adjusted to widen the whole menu which appears before hovering.

so my problem is with the width of the drop down only, i would greatly appreciate any and all help. the link to athe working site is here

and the css code im using is..
Code:
#nav { clear: both; padding: 0; margin: 0; width: 920px; height: 28px; background: transparent url(http://s3.amazonaws.com/os_extranet_images/163780_original.gif) no-repeat; } #nav li a, #nav li { float: left; position: relative; left: 15px; } #nav li { list-style: none; position: relative; } #nav li a { padding: 6px 56.2px; text-decoration: none; color: white; font: bold 13px/16px 'Trebuchet MS', 'Helvetica Neue', sans-serif; background: ; border-right: 0px solid #3c3c3c; border-left: 0px solid #292929; border-bottom: 0px solid #232323; border-top: 0px solid #545454; } #nav li a:hover { background: #2a0d65; background: -moz-linear-gradient(top, #11032e, #2a0d65); background: -webkit-gradient(linear, left top, left bottom, from(#11032e), to(#2a0d65)); } /* Submenu */ .hasChildren { position:absolute; width: 5px; height: 5px; background: white; right : 5px; bottom: 10px; } #nav li ul { background: ; display: none; position: absolute; left: 15px; top: 100%; padding: 0; margin: 0; } #nav li:hover > ul { display: block; } #nav li ul li, #nav li ul li a { background: transparent url(http://s3.amazonaws.com/os_extranet_images/163779_original.gif) no-repeat; display:block; position:static; } #nav li ul li { _display: inline; /* for IE6 */ } #nav li ul li a { width: 150px; height:15px; display: block; }

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Css drop down menu

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap