Ok, super dzięki. Ale teraz mam tak:
I div'a tresc mam idealnie na środku, ale div'a menu po jego prawej stronie (nie tak jak wcześniej, że całkiem po lewej). A ja chcę żeby wszystko było idealnie na środku.
Kod:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title>xdd</title>
<meta name="Keywords" content="ziiioommm" />
<meta http-equiv="Content-Language" content="pl" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<meta name="Author" content="lol" />
<link rel="Shortcut icon" href="img/i4.png">
</head>
<body style="background-color: #daebf8;">
<center>
<div id="wrap">
<div id="menu">
<a href="index.html" onmouseover='rollover.src="img/strona_glowna2.png"' onmouseout='rollover.src="img/strona_glowna1.png"'><img src="img/strona_glowna1.png" name="rollover" border="0"></a><br>
</div>
<div id="tresc"xddddxxaxaxsa asda</div>
</div>
</body></html></center>
Kod:
#menu{
background-color: #daebf8;
width:210px;
height:320px;
float: left;
}
#tresc{
background-color: #daebf8;
width:450px;
height:350;
}
#wrap {
width: 960px; //przykład
margin: 0px auto;
}