Może ktoś mi pomóc z pozycjonowaniem ?
Mój kod:
ul#nav {
float: left;
right: 10%;
font-family:Trebuchet MS,sans-serif;
font-size:0;
padding:2px 5px 5px 0;
background: -moz-linear-gradient(#000000, #000000); /* FF 3.6+ */
background: -ms-linear-gradient(#000000, #c4c4c4); /* IE10 */
background: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #f5f5f5), color-stop(100%, #c4c4c4)); /* Safari 4+, Chrome 2+ */
background: -webkit-linear-gradient(#000, #AD1015); /* Safari 5.1+, Chrome 10+ */
background: -o-linear-gradient(#000, #AD1015); /* Opera 11.10 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#c4c4c4'); /* IE6 & IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#c4c4c4')"; /* IE8+ */
background: linear-gradient(#000, #AD1015); /* the standard */
}
ul#nav,ul#nav ul {
list-style:none;
margin:0;
}
ul#nav,ul#nav .subs {
background-color:#444;
border:1px solid #454545;
border-radius:9px;
-moz-border-radius:9px;
-webkit-border-radius:9px;
}
ul#nav .subs {
background-color:#000;
border:2px solid #A10505;
display:none;
float:left;
left:0;
padding:0 2px 2px;
position:absolute;
top:90%;
width:300px;
border-radius:7px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
}
ul#nav li:hover>* {
display:block;
}
ul#nav li:hover {
position:relative;
}
ul#nav ul .subs {
left:100%;
position:absolute;
top:0;
}
ul#nav ul {
padding:0 2px 2px;
}
ul#nav .col {
float:left;
width:50%;
}
ul#nav li {
display:block;
float:left;
font-size:0;
white-space:nowrap;
}
ul#nav>li,ul#nav li {
margin:0 0 0 2px;
}
ul#nav ul>li {
margin:2px 0 0;
}
ul#nav a:active,ul#nav a:focus {
outline-style:none;
}
ul#nav a {
border-style:none;
border-width:0;
color:#181818;
cursor:pointer;
display:block;
font-size:13px;
font-weight:bold;
padding:2px 18px;
text-align:left;
text-decoration:none;
vertical-align:middle;
}
ul#nav ul li {
float:none;
margin:6px 0 0;
}
ul#nav ul a {
background: #fff;
border-color:#000;
border-style:solid;
border-width:0 0 1px;
color:#000;
font-size:11px;
padding:2px;
text-align:left;
text-decoration:none;
text-shadow:#EBD807 0 0 0;
border-radius:0;
-moz-border-radius:0;
-webkit-border-radius:0;
}
ul#nav li:hover>a {
border-style:none;
color:#fff;
font-size:13px;
font-weight:bold;
text-decoration:none;
text-shadow:#181818 0 1px 1px;
}
ul#nav img {
border:none;
margin-left:2px;
vertical-align:middle;
}
ul#nav span {
background-position:left;
background-repeat:no-repeat;
display:block;
overflow:visible;
padding-right:0;
}
ul#nav ul span {
background-image:url("../images/ScreSkill_v4/belka1.png");
padding-right:20px;
}
ul#nav ul li:hover>a {
border-color:#444;
border-style:solid;
color:#444;
font-size:11px;
text-decoration:none;
text-shadow:#fff 0 0 0;
}
ul#nav > li >a {
background-color:transpa;
height:25px;
line-height:25px;
border-radius:11px;
-moz-border-radius:11px;
-webkit-border-radius:11px;
}
ul#nav > li:hover > a {
background-color:#313638;
line-height:25px;
}
Chcę, żeby cały panel rozwijał się w lewo.