normal white space

More
11 years 7 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.
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.

More
11 years 7 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;
}

Please Log in or Create an account to join the conversation.

Time to create page: 0.251 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam