CSS gumb - pomoč
2 naročnika
2 naročnika
LP mene zanima kak bi dodal gumb v eno temo
to je css koda kjer se začne menu
}
#topmenu {
float: right;
width:650px;
height: 61px;
margin-top:30px;
margin-right: 10px;
}
#topmenu ul {
list-style: none;
margin: 0;
padding: 0;
margin-left: -11px;
float: right;
}
#topmenu li {
list-style: none;
float: left;
font-weight: normal;
font-size: 14px;
padding-right: 20px;
padding-left: 20px;
padding-top: 2px;
line-height: 26px;
text-transform: uppercase;
font-family: Candara, Arial, Helvetica, sans-serif;
}
#topmenu li a {
display: block;
padding: 0;
font-weight: normal;
text-decoration: none;
color: #363636;
}
#topmenu li:hover, #topmenu li.hover {
position: static;
}
#topmenu li a:hover, #topmenu li.active a {
color: #fff;
background-position: center;
}
html>body #topmenu li a {
width: auto;
}
.spotlight {
padding:15px 15px 0 15px;
}
vstavil bi pa ta gumb
1 odgovor
#topmenu li a {
display: block;
padding: 0;
font-weight: normal;
text-decoration: none;
color: #363636;
dodaj:
background: barva url(pot do tvoje slike) no-repeat center center;
moraš pa ustrezno povečat tudi ali height ali padding, da boš <a> elelent po višini raztegnil toliko, da se bo celo ozadje videlo (30px).