Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Whoa, random positioning of items

Whoa, random positioning of items

Locked

Views: 3,622

Results 21 to 24 of 24
This thread is locked. New replies are disabled.
14 Sep 2006, 1:39 AM
#21
trijohnd avatar

trijohnd

New Zenner

Join Date:
Aug 2006
Location:
Coastal southern GA
Posts:
16
Plugin Contributions:
0

Whoa, random positioning of items

yup. just checked it. 3 or 4/row, same thing.

14 Sep 2006, 3:19 AM
#22
rowan avatar

rowan

Zen Follower

Join Date:
May 2006
Location:
Australia
Posts:
107
Plugin Contributions:
2

Re: Whoa, random positioning of items

The problem is indeed caused by the use of TH and the styles applied to them.

Frankly, that mod is very poorly written, as jettrue pointed out.

First of all, the mod uses TH for the first row in the table, even though there's no headings to be seen. Secondly, it applies a width to each cell/heading, even though the width is the same as it would be by default. Thirdly, the problem is probably actually coming from the fact that each cell/heading is being floated to the left.

Floating a table cell is never going to get good results.

If you can convert all the THs to TDs, remove the width and remove the class "back" then I guarentee the problem will go away.

Remove the areas in RED:

<th class="centerBoxContentsProducts centeredContent back" style="width:24.5%;" scope="col" id="listCell0-0">

Well actually I wouldn't guarentee the problem will go away, but there's a good chance it will.

14 Sep 2006, 2:15 PM
#23
trijohnd avatar

trijohnd

New Zenner

Join Date:
Aug 2006
Location:
Coastal southern GA
Posts:
16
Plugin Contributions:
0

Re: Whoa, random positioning of items

I'll look into this. Just need to find the offensive file...let me put on my waders. ;)

Thanks for the thoughts and I'll report back on the success.

OR..might just upgrade now to 1.3.5 instead. Didn't know 3.5 was so close to being released. rats

cheers

10 Oct 2006, 6:46 AM
#24
veedz avatar

veedz

New Zenner

Join Date:
Jun 2006
Posts:
26
Plugin Contributions:
0

Re: Whoa, random positioning of items

i just added the semicolon to my css file. im not sure if thats actually what did the trick or if it was the ff update, but there seems to be no layout problems anymore!! i hope my sighs of relief arent premature!

thanks so much for all your help