как подвинуть меню вправо не используя position: relative;

Вилков Михаил
http://blog-style.hol.es


#ddmenu {

display: block;
width: 100%;
height: 12px;
cursor: pointer;
outline: none;
font-weight: bold;
color: #black;
font-family: arial;
text-align: right;
margin-top: -30px;
}
#ddmenu li {
display: block;
position: relative;
float: left;
font-size: 12px;
text-align: right;
}
#ddmenu li a {
display: block;
float: left;
padding: 0;
line-height: 78px;
font-weight: bold;
text-decoration: none;
color: #383839;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
}
#ddmenu li:hover > a {
color: #383839;
}
#ddmenu ul {
position: absolute;
top: 88px;
width: 130px;
background: #fff;
display: none;
margin: 0;
list-style: none;
border-radius: 3px;
border: 1px solid rgba(0, 0, 0, 0.2);
}
#ddmenu ul li {
display: block;
width: 100%;
font-size: 0.9em;
}
#ddmenu ul li a {
display: block;
width: 100%;
line-height: 1.4em;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
}
#ddmenu ul li a:hover {
background: #white;
}
Вилков Михаил почти 2 года назадСпасибо 0
0 чел.