.html
<?xml version="1.0" encoding="iso-8859-2"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
<meta http-equiv="reply-to" content="tomek98-03@o2.pl" />
<meta name="generator" content="WebSite PRO 4.3" />
<meta name="author" content="FraseR" />
<meta name="description" content="Portfolio grafika komputerowego." />
<meta name="keywords" content="grafika, portfolio, grafika 2d, grafika 3d, webmaster, strony, webmasterka" />
<meta name="robots" content="all, index, fallow" />
<meta name="revisit-after" content="2 days" />
<title>FraseR Portfolio</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="Shortcut icon" href="icon.png" />
<link rel='stylesheet' href='style.css' type='text/css' />
</head>
<body>
<div id="calosc">
<div id="logo">logo</div>
<div id="menu">menu</div>
<div id="text">text</div>
<div id="stopka">stopka</div>
</div>
</body>
</html>
.css
body { padding: 0px; }
#calosc
{
height:100%;
margin: 0 auto;
width:500px;
}
#logo
{
border: 1px solid black;
margin-top: auto;
height: 200px;
float: inherit;
width: 200px;
}
#menu
{
margin-top: auto;
height: 230px;
float: inherit;
width: 320px;
}
#text
{
margin-top: auto;
height: 244px;
float: inherit;
width: 212px;
}
#clear { clear: both; }
#stopka
{
margin-top: auto;
height: 241px;
float: inherit;
clear: both;
width: 243px;
}
Float przyjmuje wartości [none, left, right, inherit].
Co do wyśrodkowania - wystarczy, że rodzicem dla logo, menu, text, stopka będzie calosc z przypisanym margin: 0 auto;
w pliku css.
Polecam darmową wersję programu Komodo Edit dla przyjemniejszej pracy ;).