Witam, napisałem trochę CSS'a aby wypozycjonować stronę, i chyba robię to źle, bo kod jest taki.. długi. W każdym razie wstawiam tu kod, i proszę o sprawdznie czy jest poprawny, czy całkowicie zły.
body {
font-size: 12;
color: black;
background-image: url(back.png);
background-repeat: repeat;
}
#wrap {
margin: 0 auto;
width: 850px;
height: 800px;
background-image: url(wrap.png);
}
/* Początek nagłówka */
#head_left {
background-image: url(head_left.png);
background-position: left;
background-repeat: no-repeat;
width: 21px;
height: 155px;
float: left;
}
#head_center {
background-image: url(head_center.png);
background-repeat: repeat-x;
width: 758px;
height: 155px;
float: left;
position: relative; top: 2px;
}
#head_right {
background-image: url(head_right.png);
background-position: left;
background-repeat: no-repeat;
width: 21px;
height: 155px;
float: left;
}
#header {
width: 800px;
height: 145px;
margin: 0 auto;
position: relative; top: 20px;
}
#logo {
background-image: url(logo.png);
width: 372px;
height: 89px;
float: center;
position: relative; left: 30px; top: 40px;
}
/* Koniec nagłówka */
/* Początek lewego menu */
#menu_left {
background-image: url(menu_left.png);
background-position: left;
background-repeat: no-repeat;
width: 20px;
height: 221px;
display: inline;
float: left;
}
#menu_center {
background-image: url(menu.png);
background-repeat: repeat-x;
width: 110px;
height: 221px;
float: left;
position: relative; bottom: 3px;
}
#menu_right {
background-image: url(menu_right.png);
background-position: right;
background-repeat: no-repeat;
width: 20px;
height: 221px;
float: left;
position: relative; bottom: 5px;
}
#menu {
width: 150px;
height: 210px;
float: left;
display: inline;
position: relative; left: 25px; top: 40px;
}
/* Koniec lewego menu */
<link rel="stylesheet" type="text/css" href="style.css" />