
Jeśli się nie da to chociaż coś takiego:

W linku, który podałem niby jest podobnie, ale gdy najadę od razu na"1" ona się rozwija bez przesunięcia pozostałych w dół "2,3 i 4"- zasłania je

Oto kod:
i css:
Kod
#ul
{
border-style: solid;
border-width: 1px;
border-color: black;
border-radius: 3px;
text-align:center;
width: 100px;
height: 22px;
cursor: pointer;
list-style-type: none;
padding: 5px;
background: #242424;
font-family: tahoma;
color: silver;
}
#li1 #ul1
{
overflow: hidden;
display: none;
background: #242424;
border-radius:0px 0px 5px 5px;
}
#li1:hover #ul1
{
padding: 0;
position: absolute;
display:block;
width: 100px;
}
#li
{
list-style-type: none;
height: 25px;
}
#li:hover
{
background: #404040;
height: 25px;
}
:hover /*animacja*/
{
-moz-transition: 0.3s ease-in;
-webkit-transition: 0.3s ease-in;
-o-transition: 0.3s ease-in;
transition: 0.3s ease-in;
}
#li1 #bok
{
overflow: hidden;
display: none;
background: #242424;
border-radius:0px 0px 5px 5px;
}
#li:hover #bok
{
padding: 0;
position: absolute;
display:block;
width: 100px;
}
#li2
{
list-style-type: none;
height: 25px;
}
#li2:hover
{
background: #404040;
height: 25px;
}
#ul a
{
color: silver;
text-decoration:none;
}
{
border-style: solid;
border-width: 1px;
border-color: black;
border-radius: 3px;
text-align:center;
width: 100px;
height: 22px;
cursor: pointer;
list-style-type: none;
padding: 5px;
background: #242424;
font-family: tahoma;
color: silver;
}
#li1 #ul1
{
overflow: hidden;
display: none;
background: #242424;
border-radius:0px 0px 5px 5px;
}
#li1:hover #ul1
{
padding: 0;
position: absolute;
display:block;
width: 100px;
}
#li
{
list-style-type: none;
height: 25px;
}
#li:hover
{
background: #404040;
height: 25px;
}
:hover /*animacja*/
{
-moz-transition: 0.3s ease-in;
-webkit-transition: 0.3s ease-in;
-o-transition: 0.3s ease-in;
transition: 0.3s ease-in;
}
#li1 #bok
{
overflow: hidden;
display: none;
background: #242424;
border-radius:0px 0px 5px 5px;
}
#li:hover #bok
{
padding: 0;
position: absolute;
display:block;
width: 100px;
}
#li2
{
list-style-type: none;
height: 25px;
}
#li2:hover
{
background: #404040;
height: 25px;
}
#ul a
{
color: silver;
text-decoration:none;
}
Bardziej zależy mi na tym pierwszym, może ktoś pomóc?
