Horizontal Position - Joomla! Forum - community, help and support


i created code , positions did not stay in horizontal side side, vertical 1 underneath other.

what should stay horizontal next each other?

<$ php if ($ this-> countmodules ('expert1') or $ this-> countmodules ('expert2') or $ this-> countmodules ('expert3') or $ this-> this-> countmodules ('expert5')):?>
<div id = "expert">
<div id = "container" class = "<? php echo $ expert_width;?>">
<? php if ($ this-> countmodules ('expert1')):?>
<div class = "expert first">
<jdoc: include type = "modules" name = "expert1" style = "mhtml" />
</ div>
<? php endif; ?>
<? php if ($ this-> countmodules ('expert2')):?>
<div class = "expert second">
<jdoc: include type = "modules" name = "expert2" style = "mhtml" />
</ div>
<? php endif; ?>
<? php if ($ this-> countmodules ('expert3')):?>
<div class = "expert third">
<jdoc: include type = "modules" name = "expert3" style = "mhtml" />
</ div>
<? php endif; ?>
<? php if ($ this-> countmodules ('expert4')):?>
<div class = "expert forth">
<jdoc: include type = "modules" name = "expert4" style = "mhtml" />
</ div>
<? php endif; ?>
<? php if ($ this-> countmodules ('expert5')):?>
<div class = "expert fifth">
<jdoc: include type = "modules" name = "expert5" style = "mhtml" />
</ div>
<? php endif; ?>
</ div>
</ div>
<? php endif; ?>

att..

amilcar

are using bootstra?

for bootstrap, use:

code: select all

<div class="row-fluid">

<div class="span2">
<jdoc ....... 
</div>

repeat 6 times

</div>





Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support