S
starfoxfs
HI zusammen,
Ich möchte einen Inhalts Div darstellen dieser enthält eine Top Grafik eine Conten Grafik und eine Bottom Grafik.
Im HTML sieht das so aus:
So der CSS ist hier:
Problem an der Sache ist nun das ich sowohl bei Conttenttop einen Spalt zwischen der Grafik von Conttentop und Content habe und zwischen Content und Contentbottom ebenfalls.
Ich möchte einen Inhalts Div darstellen dieser enthält eine Top Grafik eine Conten Grafik und eine Bottom Grafik.
Im HTML sieht das so aus:
PHP:
<div class="contenttop"></div>
<div class="content">Hier der Content</div>
<div class="contentbottom"></div>
So der CSS ist hier:
PHP:
.contenttop {
margin-left:auto;
margin-right:auto;
margin-top: 50px;
margin-bottom:0px;
bottom:0px;
width:995px;
height:20px;
background:url(../images/style/content-top.png);
}
.content {
margin-top:0px;
margin-left:auto;
margin-right:auto;
margin-bottom:0px;
width:995px;
background:url(../images/style/content.png);
}
.contentbottom {
margin-top:0px;
margin-left:auto;
margin-right:auto;
width:995px;
height:20px;
background:url(../images/style/content-bottom.png);
}
Problem an der Sache ist nun das ich sowohl bei Conttenttop einen Spalt zwischen der Grafik von Conttentop und Content habe und zwischen Content und Contentbottom ebenfalls.
Zuletzt bearbeitet von einem Moderator: