Welcome, Guest
Username: Password: Remember me

TOPIC: white space

white space 8 years 3 months ago #1915

  • qianqian
  • qianqian's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Thank you received: 3
  • Karma: 0
Because there are very few modules position in PERSHOP, i added mine with the code below.
<!--  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).


This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re: white space 8 years 3 months ago #1916

  • qianqian
  • qianqian's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Thank you received: 3
  • Karma: 0
Hehe, i have solved it again, i put this in layout.css

/* BANNERC STYLE */
.ot-bannerc{
margin-bottom: -45px;
}
The administrator has disabled public write access.
Time to create page: 0.156 seconds