17-09-2009, 19:25
mozesz np zrobic tak:
Kod:
html, body {
background-color: #F1D8AE;
color: #000;
margin: 0;
padding: 0;
}
#razem{
float:left;
background-color: black;
height:100%;
padding: 0;
}
#logol{
margin-left: 12%;
width:265px;
height: 257px;
float: left;
overflow: hidden;
background-color: yellow;
background-repeat: no-repeat;
}
#logo{
float: left;
width: 629px;
overflow: hidden;
height: 257px;
background-color:black;
background-repeat: no-repeat;}
#menu{
margin-left: 12%;
float: left;
background-color:green;
background-repeat: repeat-y;
width: 265px;
overflow: hidden;
height: 55%;
}
#tresc{
float: left;
width: 629px;
overflow: hidden;
height: 55%;
background-color:blue;
background-repeat: repeat-y}
#stopka{
clear:both;
background-color:aqua;
text-align:right;
}
Kod:
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="styl.css" />
</head>
<body>
<div id="logol"></div>
<div id="logo"></div>
<div id="menu">
<div align="center">
<br/>Tresc
<br/>Tresc
<br/>Tresc
<br/>Tresc
<br/>Tresc
<br/>Tresc
<br/>Tresc
</div>
</div>
<div id="tresc">
<div align="center">
<br/>Tresc
<br/>Tresc
<br/>Tresc
</div>
</div>
<div id="stopka">Design by Zabir</div>
</body>
</html>