Varbūt kāds zin kas par vainu?
Code: Select all
body { background-color: #ffffff;
}
#augsa { background-color: blue;
text-align: center;
color: white;
position: absolute;
padding-top: 5px;
padding-bottom: 5px;
margin-bottom: 0px;
top: 0px;
left: 0px;
right: 0px;
}
#apaksa { background-color: blue;
text-align: center;
color: white;
position: absolute;
padding-top: 5px;
padding-bottom: 6px;
margin-bottom: 0px;
bottom: 0px;
left: 0px;
right: 0px;
}
#kmala { background-color: black;
color: white;
width: 120px;
position: absolute;
padding-left: 20px;
padding-right: 10px;
top: 29px;
bottom: 30px;
left: 0px;
}
#lmala { background-color: black;
color: white;
width: 120px;
position: absolute;
padding-right: 20px;
padding-left: 10px;
top: 29px;
bottom: 30px;
right: 0px;
}
#centrs { background-color: red;
position: absolute;
top: 29px;
left: 150px;
right: 30px;
bottom: 30px;
text-align: center;
}
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Tests</title>
<link rel="stylesheet" type="text/css" href="css.css" />
</head>
<body>
<div id="augsa">
Augšējā mala
</div>
<div id="centrs">
Vidus informācija
</div>
<div id="kmala">
Kreisas malas izvēle
</div>
<div id="lmala">
Labā mala
</div>
<div id="apaksa">
Apakšējā mala
</div>
</body>
</html>