- Posts: 31
- Thank you received: 3
white space
- qianqian binti
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
12 years 8 months ago #1915
by qianqian binti
white space was created by qianqian binti
Because there are very few modules position in PERSHOP, i added mine with the code below.
As a result, it leave very big space between Categorybanner (the module i made) with Headers. There is no space in bannerd (another module i made inside banner).
Code:
<!-- START BANNER AREA -->
<?php if($this->countModules('banner')) { ?>
<div id="ot-banner" class="ot-banner">
<div class="ot-banner-i">
<jdoc:include type="modules" name="banner" style="none" /></div>
<div class="ot-banner-i2" style="margin-left:535px; margin-top:-350px;"><jdoc:include type="modules" name="banner1" style="none" /></div>
</div>
<?php } ?>
<!-- END BANNER AREA -->
<!-- START CATEGORIES BANNER AREA -->
<?php if($this->countModules('bannerc')) { ?>
<div id="ot-bannerc" class="ot-bannerc">
<div class="ot-bannermine"><jdoc:include type="modules" name="bannerc"/></div>
<div class="ot-bannermine" style="margin-left:250px; margin-top:-218px;"><jdoc:include type="modules" name="bannerd"/>
</div>
</div>
<?php } ?>
<!-- END CATEGORIES BANNER AREA -->
<!-- START HEADBOXES -->
As a result, it leave very big space between Categorybanner (the module i made) with Headers. There is no space in bannerd (another module i made inside banner).
Attachment white.jpg not found
Attachments:
Please Log in or Create an account to join the conversation.
- qianqian binti
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
- Posts: 31
- Thank you received: 3
12 years 8 months ago #1916
by qianqian binti
Replied by qianqian binti on topic Re: white space
Hehe, i have solved it again, i put this in layout.css
/* BANNERC STYLE */
.ot-bannerc{
margin-bottom: -45px;
}
/* BANNERC STYLE */
.ot-bannerc{
margin-bottom: -45px;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.185 seconds