Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Attributes div is BIG

Attributes div is BIG

Locked

Views: 830

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 Jul 2007, 3:56 PM
#1
jake74 avatar

jake74

New Zenner

Join Date:
May 2007
Posts:
24
Plugin Contributions:
0

Attributes div is BIG

I'm having trouble with my attributes box. I currently have its CSS set to:

.prod_attributes{
position:relative;
top:-60px;
display:block;
}

It positions vertically fine when there is just the right amount of text in the product description, but too much or too little text and I get stuff like this:
http://www.ecomgoods.com/lcross/index.php?main_page=product_info&cPath=1&products_id=8
(Look at some of the other products, they position fine.)

I'm new to positioning with CSS and have been playing with the floats. I read all about them, but I'm not getting this attributes section to do what I want. Any suggestions on fixing this?

Thank you,
Jake Burkart

18 Jul 2007, 4:05 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Attributes div is BIG

This is a code thing and one that you must have already altered....

You need to add a clear both to the tpl_product_info_display.php file in the correct place to force the attributes to a new line

18 Jul 2007, 5:05 PM
#3
jake74 avatar

jake74

New Zenner

Join Date:
May 2007
Posts:
24
Plugin Contributions:
0

Re: Attributes div is BIG

Positioning with CSS is tricky. Gotta use my brain, and it hurts.

18 Jul 2007, 8:56 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Attributes div is BIG

Positioning with CSS is tricky. Gotta use my brain, and it hurts.
Yeah but you gotta get the code working for you also in this instance