Zen Cart Logo

space issue

Locked

Views: 697

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Jan 2009, 4:33 PM
#1
kjharrison avatar

kjharrison

Zen Follower

Join Date:
Jun 2006
Location:
Providence
Posts:
137
Plugin Contributions:
0

space issue

I'm having a space issue with my template. Take a peek and you'll understand what I'm talking about: http://www.seventhwindow.com/index.php?main_page=product_info&cPath=4&products_id=9

You have the title of the book, then the author name, then the price. After that you choose which version you want to purchase. Then there's a big space. Ick.

Is the space because of:

</div>
<br class="clearBoth" />
</div>

<br class="clearBoth" />

</div>

When I delete the BR tags and keep the closing DIV tags, the gap is closed and the text rides up too high. Deleting only one BR tag raises the text, but there's a still a small gap. Should I add some code to the clearBoth class in the BR tags?

.clearBoth {
  margin-top: 0em;
 } 

Is there a better way to fix my issue?

12 Jan 2009, 2:22 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: space issue

You could give the <br class="clearBoth /> a line-height of zero, but you'll want to make sure you only get the ones on the product page.

12 Jan 2009, 11:21 AM
#3
kjharrison avatar

kjharrison

Zen Follower

Join Date:
Jun 2006
Location:
Providence
Posts:
137
Plugin Contributions:
0

Re: space issue

Kim:

You could give the <br class="clearBoth /> a line-height of zero, but you'll want to make sure you only get the ones on the product page.

I was afraid of the same thing, which is why I posted it here before actually doing it. I might just give ita new class (ProductSpace) and use that, which would be safer.