<link rel="stylesheet" type="text/css" title="main" media="screen, projection" href="Kopia screen.css" /> <div id="aukcja"> <div id="opis"> <div id="baner"> <div id="dane"> <br> </div> </div> <br> Jego numer wysyłam Kupującemu zaraz po wygranej. </div> </div> </div> test<br> test<br> test<br> test<br> test<br> test<br> test<br> </div> </div> </div> <font color="#ffffff">Š 2006 by Onekiss & Webtemplate</font><br> <br> </center>
Wiem, że bez nagłówka i niezgodny ze standardami.
A to css...
Kod
body {
margin: 0;
padding: 0;
font-size: 8pt;
font-family: Verdana;
color: #000;
background-color: #4E6364;
text-align: center;
}
img {
border: 0;
}
#aukcja {
background-color: #4E6364;
float: center;
text-align: center;
}
#opis {
background-color: #FFFFFF;
}
div#aukcja {
float: center;
width: 717px;
}
a {
color: green;
text-decoration: underline;
}
a:hover {
color: green;
text-decoration: none;
}
div#banner {
color: #ffffff;
background-color: #FFFFFF;
border-bottom: 7px solid #6F7AA1;
}
div#dane {
float: left;
width: 226px;
padding-top: 0px;
padding-left: 5px;
}
div#content {
margin-left: 241px;
margin-right: 5px;
}
div#baner {
margin-bottom: 10px;
}
div.tekst {
border: 1px solid #CECECE;
padding: 5px 5px 5px 5px;
margin-bottom: 10px;
}
div#konto {
margin-bottom: 0px;
}
div#opis {
margin-bottom: 0px;
}
div.content {
line-height: 150%;
}
#cleardiv {
clear: both;
height: 10px;
}
margin: 0;
padding: 0;
font-size: 8pt;
font-family: Verdana;
color: #000;
background-color: #4E6364;
text-align: center;
}
img {
border: 0;
}
#aukcja {
background-color: #4E6364;
float: center;
text-align: center;
}
#opis {
background-color: #FFFFFF;
}
div#aukcja {
float: center;
width: 717px;
}
a {
color: green;
text-decoration: underline;
}
a:hover {
color: green;
text-decoration: none;
}
div#banner {
color: #ffffff;
background-color: #FFFFFF;
border-bottom: 7px solid #6F7AA1;
}
div#dane {
float: left;
width: 226px;
padding-top: 0px;
padding-left: 5px;
}
div#content {
margin-left: 241px;
margin-right: 5px;
}
div#baner {
margin-bottom: 10px;
}
div.tekst {
border: 1px solid #CECECE;
padding: 5px 5px 5px 5px;
margin-bottom: 10px;
}
div#konto {
margin-bottom: 0px;
}
div#opis {
margin-bottom: 0px;
}
div.content {
line-height: 150%;
}
#cleardiv {
clear: both;
height: 10px;
}
W FF i Operze całość wygląda dobrze. Jednak w IE z nieznanych przyczyn właściwa czesć stron ("test<br>[...]") ląduje przesunięta w dół. Czemu tak może się dziać?