Не се виждат бутоните под Мозила

chepa

Registered
Под ИЕ изглежда така:

asdaddadasdasd.jpg



А под Мозила

asdasdsad.jpg



Ето кода :

Код:
a.hui{
padding-top: 2px;
background-image:url(images/buton.png);background-repeat: no-repeat;
width: 90px;
height: 20px;
color: white;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: none;

}
a.hui:hover{
color: #bbbbbb;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: underline;

}
Код:
<a class="hui" href="index.php">Начало</a>&nbsp&nbsp
<a class="hui" href="#">Форум</a>&nbsp&nbsp
<a class="hui" href="sr.php">Съ</a>&nbsp&nbsp
<a class="hui" href="videos.php">Видеота</a>&nbsp&nbsp
<a class="hui" href="adm.php"> </a>&nbsp&nbsp
<a class="hui" href="#">За Контакти</a>&nbsp&nbsp
 
Код:
 a.hui{
padding-top: 2px;
background-image:url(images/buton.png);background-repeat: no-repeat;
width: 90px;
height: 20px;
color: white;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: none;
display:block;
}
a.hui:hover{
color: #bbbbbb;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: underline;

}
 
kulov каза:
Код:
 a.hui{
padding-top: 2px;
background-image:url(images/buton.png);background-repeat: no-repeat;
width: 90px;
height: 20px;
color: white;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: none;
display:block;
}
a.hui:hover{
color: #bbbbbb;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: underline;

}
така с това display: block; ги дава едно под друго..
 
Код:
  a.hui{
padding-top: 2px;
background-image:url(images/buton.png);background-repeat: no-repeat;
width: 90px;
height: 20px;
color: white;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: none;
float:left;
display:block;
}
a.hui:hover{
color: #bbbbbb;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: underline;

}
 
kulov каза:
Код:
  a.hui{
padding-top: 2px;
background-image:url(images/buton.png);background-repeat: no-repeat;
width: 90px;
height: 20px;
color: white;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: none;
float:left;
display:block;
}
a.hui:hover{
color: #bbbbbb;
font-family: arial;
font-weight: bold;
font-size: 12px;
text-decoration: underline;

}
Едит: оправих се просто сложих display:inline-block;
 

Back
Горе