<?php if ($this->countModules('user4') or $this->countModules('user5')) : ?>
<?php $width =(99 / (($this->countModules('user4')?1:0) + ($this->countModules('user5')?1:0))); ?>
<?php if($this->countModules('user4')) : ?>
<div class="usermodule4" style="width:<?php echo $width; ?>%">
<jdoc:include type="modules" name="user4" style="rounded" />
</div>
<?php endif; ?>
<?php if($this->countModules('user5')) : ?>
<div class="usermodule5" style="width:<?php echo $width; ?>%">
<jdoc:include type="modules" name="user5" style="rounded" />
.usermodule4 {
float:left;
width: 120px;
}
.usermodule5 {
float: left;
width: 228px;
}
Time to create page: 0.064 seconds