Autor Zpráva
ice
Profil *
Ahoj, na www.pokus05.wz.cz mam problem s JESPRem. Dela mi mezi DIVi mezery? V opere a firefoxu no problem Mate prosim nejaky tip co s tim?,

<body>
<div id="navigace"></div>
<div id="horniram"></div>
<div id="stred"></div>
<div id="paticka"></div>
</body>
</html>

* {
margin:0;
padding:0;
}
body {
text-align:center;
}
/* layout */
#horniram {
margin:0 auto;
width:760px;
height:26px;
background:url(layout/horniram.gif) no-repeat center;
}
#stred {
margin:0 auto;
width:760px;
height:20px;
background:url(layout/vypln.gif) repeat-y center;
}
#paticka {
clear:both;
margin:0 auto;
width:760px;
height:15px;
background:url(layout/spodniram.gif) no-repeat center;
}
ice
Profil *
Jeste jsem zapomnel. Projevuje se to kdyz si maximalizujete pismo a zmensite, tak je to jak pest na oko.
Dero
Profil
Ty center změň na top center a pro boxy, které nebudou obsahovat text, nastav line-height: 0; a font-size: 1px;

IE rezervuje volné místo pro text i v prázdném DIVu.
ice
Profil *
ok, diky moc za radu Dero.
Toto téma je uzamčeno. Odpověď nelze zaslat.

0