small problem in css template c5
Permalink
Hello,
like the following code should be written correctly? The CSS Style refers to the outer div and in Edit Mode to appear no additional div!
..........
<div id="boxes" <?php if ($c->isEditMode()) { ?>style="min-height:12px"<?php } ?>>
<?php
$a = new Area('boxes');
$a->display($c);
?>
</div>
.........
or ?
.........
<div id="boxes">
<?php if ($c->isEditMode()) { ?><div style="min-height:12px"><?php } ?>
<?php
$a = new Area('boxes');
$a->display($c);
?>
</div>
.......
Best Regards
uliII
like the following code should be written correctly? The CSS Style refers to the outer div and in Edit Mode to appear no additional div!
..........
<div id="boxes" <?php if ($c->isEditMode()) { ?>style="min-height:12px"<?php } ?>>
<?php
$a = new Area('boxes');
$a->display($c);
?>
</div>
.........
or ?
.........
<div id="boxes">
<?php if ($c->isEditMode()) { ?><div style="min-height:12px"><?php } ?>
<?php
$a = new Area('boxes');
$a->display($c);
?>
</div>
.......
Best Regards
uliII