html - Full width drop down -


i have gone online , found looking drop down menu , have been trying edit code drop down menu 100% of width of screen , inside ill have wrap hold links @ width of 960px. im unable drop down 100%.

http://jsfiddle.net/jwspz/

i think problem in here somewhere...

 ul li ul {   padding: 0;   position: absolute;   top: 48px;   left: 0;   width: 150px;   -webkit-box-shadow: none;   -moz-box-shadow: none;   box-shadow: none;   display: none;   opacity: 0;   visibility: hidden;   -webkit-transiton: opacity 0.2s;   -moz-transition: opacity 0.2s;   -ms-transition: opacity 0.2s;   -o-transition: opacity 0.2s;   -transition: opacity 0.2s;   } 

that drop down i've been trying edit. want similar drop down

http://au.beatsbydre.com/

i have managed width of menu witch think want,

working demo

i added following (so simple) code

removed

ul li{    position:relative; } 

and added

ul{    position:relative; } 

if want full width of screen

remove

ul li{    position:relative; } 

add

ul li .dropdown{      top: 75px; } 

working demo 2

hope helps,

good luck :)


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -