Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
I have a category with 3 sub categories, and 2 sub categories.
The 3 sub categories span the width of the page just fine.
However, with the products, something's not right. The first product is aligned on the left. The second one looks as if it's set to align in the center. (And therefore is a bit to the right of center, as if the other product should be right next to it, a little to the left of the center, but it's not.)
What do you think is causing it? I looked through the css, but couldn't find anything. I even tried changing all mentions of the word 'left' to 'center'. No luck. It messed up the page, but the products were still messed up.
Any thoughts or suggestions? |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
It probably isn't a left/right text-alignment issue. Do you have a link? |
|
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
|
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Ugh, tables. Try this... find this in your stylesheet: Code:#categorygridtemplaterecords .record {width:185px;margin:0px;} Add and auto margin for left and right: Code:#categorygridtemplaterecords .record {width:185px;margin:0px [b]auto[/b];} |
|
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Hmm. I changed it to #categorygridtemplaterecords .record {width:185px;margin:0px; auto;} but it didn't change anything.
Any other thoughts? |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 5/14/2005(UTC) Posts: 398
|
you mistyped it.. it should look like this for FF Code: #categorygridtemplaterecords .record {width:185px;margin:0px [b]auto[/b];}
and add this for IE Code: #categorygridtemplaterecords td { text-align: center;}
this combination should work right Cliff? |
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Yeah, that should do it.
Christopher, you've got an extra semi-colon in there. |
|
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Oops! My bad. Thanks. It works just fine now. |
Thanks,
Christopher |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.