Also ich hab das mal in abgewandelter Form ausprobiert:
Sieht wir folgt aus:
index.php
PHP-Code:
<div id="left" style="clear: right;">
<?php mosLoadModules ( 'left', -3 ); ?>
</div>
<?php if( mosCountModules( "right" ) ){
?>
<div id="right">
<?php mosLoadModules ( 'right', -3 ); ?>
</div>
<div id="contentklein">
<?php mosMainBody(); ?>
</div>
<?php
}
else {
?>
<div id="contentgross">
<?php mosMainBody(); ?>
</div>
<?php
}
?>
</div>
<br clear="both" />
template_css.css
HTML-Code:
#left {
width: 19%;
float: left;
margin: 0 1% 20px 0;
}
#right {
width: 19%;
float: right;
margin: 0 0 20px 0;
}
#contentklein {
margin: 8px 1% 20px 0;
float: left;
width: 60%;
}
#contentgross {
margin: 8px 1% 20px 0;
float: left;
overflow: hidden;
width: 79%;
}
Inhaltsmäßig werden alle Menüpunkte richtig angezeigt aber leider nicht mehr das Forum, weil nämlich das linke Menü nicht ausgeblendet ist. Hab ich via Firebug festgestellt.
Dazu kommt, das das Forum nicht 100% hat.
Ich hab den Fehler nicht gefunden.
Lesezeichen