#nav ul li { float: left; list-style-type: none; } #nav ul a.dol{ width: 107px; display: block; text-decoration: none; text-align: center; background: yellow; margin-right: 5px; } #nav ul li.active a { width: 80px; display: block; text-decoration: none; text-align: center; background: blue; color: black; } #nav ul ul.top li a { width: 90px; }
Wynik kodu: http://img339.imageshack.us/i/menumq.jpg/
Jak ustawić, żeby linki "Doberman", "Collie" i itd były po lewej stronie?
Stosowałam pozycjonowanie absolutne, ale nie chcę tego użyć. Czy są jakieś inne sposoby?