A w CCSie tak:
Kod
.top{
padding-top:0px;
background-image:url(top.bmp);
background-repeat:repeat-x;
}
.inside{
background-image:url(inside.bmp);
background-repeat:repeat-y;
padding:0;
margin:0;
}
.bottom{
height:13px;
background-image:url(bottom.bmp);
background-repeat:repeat-x;
border:0;
}
.top .top_left{
float:left;
}
.top .top_right{
float:right;
}
.bottom .bottom_left{
float:left;
}
.bottom .bottom_right{
float:right;
}
padding-top:0px;
background-image:url(top.bmp);
background-repeat:repeat-x;
}
.inside{
background-image:url(inside.bmp);
background-repeat:repeat-y;
padding:0;
margin:0;
}
.bottom{
height:13px;
background-image:url(bottom.bmp);
background-repeat:repeat-x;
border:0;
}
.top .top_left{
float:left;
}
.top .top_right{
float:right;
}
.bottom .bottom_left{
float:left;
}
.bottom .bottom_right{
float:right;
}
Wytłumaczcie mi proszę czemu górny lewy i górny prawy obrazek wyświetlają się ok ale tło między nimi jest 'przykryte' wypełnieniem z <div class=inside>, który jest poniżej <div class=top> w htmlu ?!?!?! . Dzieje się tak i w IE i w FF.
.
EDIT: Już wyczaiłem czemu tak się dzieje. Wystarczy dodać w CCSie w klasie .top wysokość taką jaką mają narożniki czyli 13px i wszystko śmiga.