Chodzi mi o coś takiego: http://i40.tinypic.com/21j90xz.jpg
XHTML
Kod
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<title>WOW Info</title>
<link rel="Stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="wrapper">
<div id="top">
Logo
</div>
<div id="main">
<div id="menu">
Menu
</div>
<div id="news">
News
</div>
</div>
<div id="footer">
Footer
</div>
</div>
</body>
</html>
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<title>WOW Info</title>
<link rel="Stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="wrapper">
<div id="top">
Logo
</div>
<div id="main">
<div id="menu">
Menu
</div>
<div id="news">
News
</div>
</div>
<div id="footer">
Footer
</div>
</div>
</body>
</html>
CSS:
Kod
html, body {
background-color: #000;
color: #000;
margin: 0;
padding: 0;
}
#wrapper {
width: 1000px;
margin: auto;
}
#top {
background-image: url(images/top.jpg);
height: 23px;
}
#main {
overflow: hidden;
background-image: url(images/main.jpg);
height: 755px;
}
#footer {
clear: both;
width: 100%;
height: 22px;
background-image: url(images/footer.jpg);
}
#menu {
width: 190px;
float: left;
border: solid 1px green;
overflow: hidden;
}
#news {
width: 500px;
float: left;
border: solid 1px green;
overflow: hidden;
}
background-color: #000;
color: #000;
margin: 0;
padding: 0;
}
#wrapper {
width: 1000px;
margin: auto;
}
#top {
background-image: url(images/top.jpg);
height: 23px;
}
#main {
overflow: hidden;
background-image: url(images/main.jpg);
height: 755px;
}
#footer {
clear: both;
width: 100%;
height: 22px;
background-image: url(images/footer.jpg);
}
#menu {
width: 190px;
float: left;
border: solid 1px green;
overflow: hidden;
}
#news {
width: 500px;
float: left;
border: solid 1px green;
overflow: hidden;
}