Ahoj,
rano moudrejsi vecera se rika
Tak to nejak mam, ale oddily nejsou centrovane v IE, kde delam prosim chybu? Je to podle popisu na webu jakpsatweb.cz:
HTML:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=windows-1250">
<title>test page</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="obal">
<div id="prvni">prvni</div>
<div id="druhy">druhy</div>
<div id="treti">treti</div>
</div>
</body>
</html>
CSS:
#obal {
margin: 0px auto;
position: relative;
width: 1000px;
}
#prvni {
position: absolute;
width: 100%;
height: 150px;
top: 0px;
left: 0px;
background: #edefee;
}
#druhy {
position: absolute;
width: 100%;
height: 50px;
top: 150px;
left: 0px;
background: #c4c5c4;
}
#treti {
position: absolute;
width: 100%;
height: 1000px;
top: 200px;
left: 0px;
background: #edefee;
}
Nechal jsem se do neceho ukecat a misto ramcu se chci pohrat s CSS.
Diky za ochotu