Hallo Leute,
habe ein sehr lästiges Problem bei dem ich leider nicht weiterkomme. Mein Problem ist dass ich einen Container Div um mehrere andere Divs liegen habe. Dieser Container hat einen Background per CSS bekommen, zeigt diesen aber nicht wirklich an, obwohl eigentlich in den anderen Divs etwas drinsteht...hier mal der Ausschnitt des Quellcodes dazu:
CSS-Code:
HTML-Code:
Zusätzlich gibt es ein Problem mit dem Div 'topnews'...dieser hat ja, wie im Code zu entnehmen, die Eigenschaft 'min-height', allerdings vergrößert dieser sich nicht automatisch wie er es eigentlich sollte bei mehr Inhalt...
Ich hoffe ihr versteht mein Problem und könnt mir dabei helfen.
Grüße,
Christian
habe ein sehr lästiges Problem bei dem ich leider nicht weiterkomme. Mein Problem ist dass ich einen Container Div um mehrere andere Divs liegen habe. Dieser Container hat einen Background per CSS bekommen, zeigt diesen aber nicht wirklich an, obwohl eigentlich in den anderen Divs etwas drinsteht...hier mal der Ausschnitt des Quellcodes dazu:
CSS-Code:
Code:
#content_area { // Container-Div
background-image: url(images/content_bg.png);
background-repeat: repeat-y;
height: auto;
width: 1052px;
}
#left { // Content darin ist aufgesplittet in links & rechts
float: left;
height: auto;
width: 793px;
}
#right {
float: right;
height: auto;
width: 259px;
}
#scoreboard { // rechter teil
background-image: url(images/scoreboard.png);
height: 147px;
padding-left: 10px;
padding-top: 45px;
width: 249px;
}
#sponsors { // rechter teil
background-image: url(images/sponsors.png);
background-repeat: no-repeat;
height: auto;
padding-top: 36px;
width: 259px;
}
#headline_thanks { // ganz oben im Content, weder in left noch in right enthalten
background-image: url(images/thanks.png);
height: 27px;
width: 1052px;
}
#thanks { // linker Teil
height: 121px;
padding-left: 50px;
width: 743px;
}
#content { // linker Teil
min-height: 685px;
padding-left: 20px;
width: 773px;
}
#topnews { // linker Teil
min-height: 244px;
margin-left: 5px;
width: 785px;
}
#headline_newslist { // linker Teil
background-image: url(images/newslist.png);
height: 12px;
margin-left: -20px;
width: 793px;
}
list_content { // linker Teil
height: auto;
width: 793px;
}
#newslist { // linker Teil
float: left;
height: 160px;
width: 513px;
}
#headlines { // linker Teil
float: right;
height: 224px;
padding-top: 16px;
width: 260px;
}
#advertisement { // linker Teil
background-image: url(images/advertisement.png);
float: left;
height: 62px;
padding-left: 5px;
padding-top: 15px;
width: 470px;
}
#headline_articles { // linker Teil
background-image: url(images/headline_articles.png);
clear: both;
height: 12px;
margin-left: -20px;
width: 793px;
}
#articles { // linker Teil
min-height: 251px;
width: 770px;
}
Code:
<div id="content_area">
<div id="headline_thanks"></div>
<div id="left">
<div id="thanks">
<div class="marquee" id="mycrawler2" style="width:700px;">
{banners:navlist}
</div>
</div>
<div id="headline_content"></div>
<div id="content">
<div id="topnews">
{func:show}
</div>
<div id="headline_newslist"></div>
<div id="newslist">{news:recent2}</div>
<div id="list_content">
<div id="headlines">{news:navlist}</div>
<div id="advertisement">
{banners:rotate}
</div>
</div>
<div id="headline_articles"></div>
<div id="articles">{artikel:navlist}</div>
</div>
</div>
<div id="right">
<div id="scoreboard">
{wars:navlist}
</div>
<div id="sponsors">
{partner:navlist}
</div>
</div>
</div>
Ich hoffe ihr versteht mein Problem und könnt mir dabei helfen.
Grüße,
Christian