03-02-2010, 03:39
(Ten post był ostatnio modyfikowany: 03-02-2010, 04:27 przez Labsta.com.)
(02-02-2010, 17:02)asd5 napisał(a): border-left, border-right
jedno jaśniejsze od tła, drugie trochę ciemniejsze
znalazłem coś takiego, tylko nie wiem czego brakuje w moim kodzie :
Kod:
.menu.horizontal {
width: 100%;
height: 27px;
margin: 0;
padding: 0;
background: #000000 url(img/bg.gif) top left repeat-x;
}
.menu.horizontal ul {
list-style: none;
margin: 0;
padding: 0;
}
.menu.horizontal ul li {
float: left;
margin: 0;
padding: 0;
background: transparent url(img/bg-button.gif) top left no-repeat;
}
.menu.horizontal ul li a {
display: block;
height: 27px;
padding-left: 35px;
float: left;
text-transform: uppercase;
font-family: "Helvetica Neue",helvetica,"microsoft sans serif",arial,sans-serif;
font-size: 70%;
color: #FFFFFF;
text-decoration: none;
}
.menu.horizontal ul li a span.menu_ar {
display: block;
float: left;
height: 22px;
padding-top: 5px;
padding-right: 35px;
background: transparent url(img/bg-button.gif) top right no-repeat;
cursor: pointer;
}
.menu.horizontal ul li a:hover,
.menu.horizontal ul li.highlight a {
background: transparent url(img/button.gif) top left no-repeat;
}
.menu.horizontal ul li a:hover span.menu_ar,
.menu.horizontal ul li.highlight a span.menu_ar {
background: transparent url(img/button.gif) top right no-repeat;
}
Edit (Labsta.com):
Zacznij wklejać kody w znaczniki [ code ]