Сега се уча и още не са ми ясни много неща..
Ето ми кода : [css]#wrapper{
width: 970px;
margin: 0 auto;
}
.left-header{
margin: 10px 960px 0 0;
background: url("img/left-header-img.png") no-repeat;
height:129px;
width:16px;
position:relative;
}
.top-header{
margin: -129px 0 0 11px;
background: url("img/top-header-img.png") repeat-x;
height:129px;
}
.logo1{
margin: -30px 0 0 130px; border:2px solid red;
height:64px;
width:179px;
background: url("img/logo-onlain.png") no-repeat;
}
.logo2{
margin: -30px 0 0 340px;
height:74px;
width:263px;
background: url("img/logo-pod.png") no-repeat;
}
.header-podaryk{
margin: -100px 0 0 6px; border:2px solid red;
height:104px;
width:122px;
background: url("img/header-podaryk.png") no-repeat;
}
.header-kartichka{
margin: -99px 0 0 630px;
height:94px;
width:94px;
background: url("img/header-kartichka.png") no-repeat;
}
.kolichka{
margin: -79px 0 0 886px;
height:55px;
width:62px;
background: url("img/kolichka.png") no-repeat;
}
.right-header{
margin: -129px 0 0 960px;
background: url("img/right-header-img.png") no-repeat;
height:129px;
width:16px;
}
.............
[/css]
не мога да наглася logo1 да е по надолу. Когато му променям margin-top или не се отразява или мести всичко но не и това което трябва
Ето ми кода : [css]#wrapper{
width: 970px;
margin: 0 auto;
}
.left-header{
margin: 10px 960px 0 0;
background: url("img/left-header-img.png") no-repeat;
height:129px;
width:16px;
position:relative;
}
.top-header{
margin: -129px 0 0 11px;
background: url("img/top-header-img.png") repeat-x;
height:129px;
}
.logo1{
margin: -30px 0 0 130px; border:2px solid red;
height:64px;
width:179px;
background: url("img/logo-onlain.png") no-repeat;
}
.logo2{
margin: -30px 0 0 340px;
height:74px;
width:263px;
background: url("img/logo-pod.png") no-repeat;
}
.header-podaryk{
margin: -100px 0 0 6px; border:2px solid red;
height:104px;
width:122px;
background: url("img/header-podaryk.png") no-repeat;
}
.header-kartichka{
margin: -99px 0 0 630px;
height:94px;
width:94px;
background: url("img/header-kartichka.png") no-repeat;
}
.kolichka{
margin: -79px 0 0 886px;
height:55px;
width:62px;
background: url("img/kolichka.png") no-repeat;
}
.right-header{
margin: -129px 0 0 960px;
background: url("img/right-header-img.png") no-repeat;
height:129px;
width:16px;
}
.............
[/css]
HTML:
<div id="wrapper">
<div class="left-header"> </div>
<div class="top-header">
<div class="logo1"></div>
<div class="logo2"></div>
<div class="header-podaryk"></div>
<div class="header-kartichka"></div>
<div class="kolichka"></div>
</div>
<div class="right-header"> </div>
</div>
не мога да наглася logo1 да е по надолу. Когато му променям margin-top или не се отразява или мести всичко но не и това което трябва