Fixed using
http://dev.joomla.org/content/view/1136/79/1/8/i have an issue.
I'm trying to make a template.
www.testjoomla.coukwith 3 coloums i want the 1st coloum to take up the full width of the page if i don't have any modules published in
2nd and 3rd coloums so it just fills what ever is empty. kinda of thing.
here's my code
CSSbody {
padding : 2px;
background : #FFFFFF;
font-family : "Lucida Sans Unicode", "Lucida Grande", "Trebuchet MS", "Verdana", "sans-serif";
font-size : 12px;
color : #000;
text-align: center;
}
#Table_01 {
margin:0 auto;
text-align: left;
overflow: hidden;
width: 69.5%;
}
#index-02 {
width:864px;
height:29px;
background-image:url(../images/index_02.gif)
}
#left {
width:33%;
float:left;
background:#fff;
padding-bottom:10px;
}
#middle {
width:32%;
float:left;
background:#fff;
padding-bottom:10px;
}
#right {
width:32%;
float:left;
background:#fff;
padding-bottom:10px;
}
#footer {
clear: both;
height: 5%;
border-top: 1px solid green;
padding: 1%;
margin: 0;
}
html/php<div id="left">
<?php mosMainBody(); ?><br>
<?php mosLoadModules ( 'user2' ); ?><br>
<?php mosLoadModules ( 'left' ); ?><br>
<?php mosLoadModules ( 'user5' ); ?><br>
</div>
<div id="middle">
<?php mosLoadModules ( 'user1' ); ?><br>
<?php mosLoadModules ( 'user3' ); ?><br>
<?php mosLoadModules ( 'advert1' ); ?><br>
<?php mosLoadModules ( 'bottom' ); ?>
</div>
<div id="right">
<?php mosLoadModules ( 'right' ); ?><br>
<?php mosLoadModules ( 'advert2' ); ?>
</div>