Autor Zpráva
Marew
Profil *
ahoj,
dělám stránky a mám tady jeden problém. Menu je dělané pomocí tečkovaného seznamu. V mozille je vše v pořádku, ale v IE je pod jedním odkazem větší mezera (padding), než jsem chtěl. Tady jsou zdrojáky. Nevíte prosím, co s tím? Jak udělat, aby byly po každé odrážce stejné mezery pod ní? Díky moc


<div id="head">
<h1 class="hidden">Ewa Farná</h1>

<ul>
<li class="link_news"><a href="novinky.html"><span class="hidden">Novinky</span></a></li>
<li class="link_ewa"><a href="ewa.html"><span class="hidden">Ewa</span></a></li>
<li class="link_foto"><a href="foto.html"><span class="hidden">Foto</span></a></li>
<li class="link_forum"><a href="forum.html"><span class="hidden">Forum</span></a></li>
<li class="link_extra"><a href="extra.html"><span class="hidden">Extra</span></a></li>
<li class="link_dowland"><a href="stahuj.html"><span class="hidden">Stahuj</span></a></li>

</ul>
</div>

#head {
text-align: center;
margin-left: auto;
margin-right: auto;
margin-top: 0px;
margin-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
border: none;
background-image: url(../graphics/head_bg.gif);
background-attachment: scroll;
background-repeat: no-repeat;
height: 172px;
width: 760px;
}
#head ul {
float: left;
text-align: left;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
position: relative;
top: 5px;
left: 636px;
right: 0px;
width: auto;
height: auto;
}
#head li {
list-style-type: none;
margin-bottom: 0px;
padding-bottom: 2px;
margin-top: 0px;
padding-top: 0px;
text-align: left;
display: block;
}
#head li.link_ewa a {
background-image: url(../graphics/link_ewa.gif);
background-repeat: no-repeat;
width: 124px;
height: 23px;
display: block;
margin-bottom: 0px;
padding-bottom: 0px;
margin-top: 0px;
padding-top: 0px;
}
#head li.link_foto a{
background-image: url(../graphics/link_foto.gif);
background-repeat: no-repeat;
width: 124px;
height: 23px;
display: block;
margin-bottom: 0px;
padding-bottom: 0px;
margin-top: 0px;
padding-top: 0px;
}
#head li.link_forum a {
background-image: url(../graphics/link_forum.gif);
background-repeat: no-repeat;
width: 124px;
height: 23px;
display: block;
margin-bottom: 0px;
padding-bottom: 0px;
margin-top: 0px;
padding-top: 0px;
}
#head li.link_dowland a {
background-image: url(../graphics/link_dowland.gif);
background-repeat: no-repeat;
width: 124px;
height: 23px;
display: block;
margin-bottom: 0px;
padding-bottom: 0px;
margin-top: 0px;
padding-top: 0px;
}
#head li.link_news a {
background-image: url(../graphics/link_news.gif);
background-repeat: no-repeat;
width: 124px;
height: 23px;
display: block;
margin-bottom: 0px;
padding-bottom: 0px;
margin-top: 0px;
padding-top: 0px;
}
#head li.link_extra a {
background-image: url(../graphics/link_extra.gif);
background-repeat: no-repeat;
width: 124px;
height: 23px;
display: block;
margin-bottom: 0px;
padding-bottom: 0px;
margin-top: 0px;
padding-top: 0px;
}

.
Dejvos
Profil *
No, já bych řek, že by to mohlo být tím, že nemáš nastaveny atributy pro a:link a a:visited, to vede k tomu, že pokud jsi již nějaký odkaz použil, tak už pro něj neplatí a:link, ale a:visited, což vede k tomu, že IE použije své vlastní implicitní hodnoty k tomuto tagu.

Teda jak se dá soudit, když nemám před sebou ty stránky. Tohle by by bylo první co by mě napadlo.
mahrew
Profil *
Stránky najdeš na ewa.xf.cz
mahrew
Profil *
A tady je to jako odkaz!
mahrew
Profil *
A tady je to jako odkaz!
Toto téma je uzamčeno. Odpověď nelze zaslat.

0