przez Pawsonek 10 Mar 2011, 23:31
- Kod: Zaznacz wszystko
/* reset marginesów oraz dopełnień */
html, body, ul, li { margin: 0; padding: 0;}
/* reset wysokości linii i fontu */
h1, h2, ul, li, p { margin: 0; padding: 0; font-size: 1em; line-height: 1.5em;}
/* ustawienia globalne */
body { font: 0.625em/1.5em tahoma, verdana, arial, sans-serif; background-color: #f3f3f3;}
/* szerokość strony */
.content {width: 990px;}
/* resetowanie ramek obrazkĂłw */
a img {border: none;}
/* header */
#header {
position: relative;
height: 166px;
border-bottom: 1px solid #fff;
background: #fff url(../images/header-tl.jpg) no-repeat;
}
#header h1 {
position: absolute;
top: 1px;
left: 45px;
overflow: hidden;
}
#header h1 a {
display: block;
width: 381px;
height: 163px;
background: url(../images/logo.png) no-repeat;
text-indent: -666em;
}
#header ul {
overflow: hidden;
position: absolute;
bottom: 0;
left: 450px;
list-style: none;
}
#header ul li {
float: left;
margin-right: 1px;
background: url(../images/menu-left.gif) top left no-repeat;
}
#header ul li a {
display: block;
padding: 1px 26px 1px;
color: #ffffff;
font: bold 1.1em tahoma, verdana, arial, sans-serif;
text-decoration: none;
background: url(../images/menu-right.gif) top right no-repeat;
}
#header flags {
background: url(../images/reklama.swf) top right no-repeat;
width: 650px;
height: 80px;
float: right;
margin-right: -250px;
margin-top: 15px;
}
dalsza czesc kodu...
...piszę, bo się uczę dlatego pytam. nie wiem bo nie sprawdzałem walidacji, robie na razie dla siebie.
Co do kodu, właśnie się zastanawiałem dlaczego jest to samo. Czyli to było dobrze.
edit:
Już wiem co jest źle, zamiast #header flags musi być #flags i działa
Procesor: 435 /2.9GHz, 1.5MB, 95W, AM3, Płyta główna: Gigabyte MA785GT-UD3H, Grafika: Gigabyte GeForce 6600 LE 128MB/128bit DDR TV/DVI PCI-E, Ram:Kingston DDR3 2GB 1333mhz + 2x4GB Kingston 1600mhz HyperX, Zasilacz: Modecom Carbon 530W Dysk: Samsung 500GB i 160 GB