Parašė allenas.· 2011 Lie. 4 15:07:38
#9
3. Kaip viską sucentruoti, kad nebūtų kaip:
http://allenas.eu/lala/
.CSS failas:
/*allenas coding*/
body {
background-image: url(images/bg.png);
padding: 0px;
margin: 0px;
}
.linija {
background-image: url(images/line.png);
width: 857px;
height: 6px;
}
.sviesa {
background-image: url(images/light.png);
width: 850px;
height: 50px;
background-repeat: no-repeat;
}
.logo {
background-image: url(images/logo.png);
width: 202px;
height: 67px;
background-repeat: no-repeat;
}
.naujiena {
background-image: url(images/naujiena.png);
width: 591px;
height: 228px;
background-repeat: no-repeat;
}
.footer {
font-family: Tahoma, Verdana, Arial;
font-size: 11px;
color: #838383;
text-align: center;
}
.HTML failas:
<!DOCTYPE <span style="border-bottom: 1px dotted black;">html</span> PUVisos teisės saugomos © allenas.euBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Allenas design @ Kodavimo tikslai</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center"></div>
<div class="linija"></div>
<div class="sviesa"></div>
<div class="logo"></div>
<div class="naujiena"></div>
<div class="footer">Visos teises saugomos © allenas.eu<br>
Dizainas sukurtas kodavimo mokymosi tikslais </div>
</body>