Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Can I right justify the left sideboxes?

Can I right justify the left sideboxes?

Locked

Views: 829

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 Mar 2009, 9:02 PM
#1
ssdsarah avatar

ssdsarah

New Zenner

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

Can I right justify the left sideboxes?

Trying to force a custom template to do what I want with my limited knowledge, but I'm stuck, even with my "cheating"...

The version is 1.3.8 and if I could just get the left sideboxes to right justify in the nice wide column I made for them, I think it would be doing what I want...

the URL, which I'm hesitant to post due to it's clearly unfinished state is here:
http://138tester.candycuteness.com

This is not a live store, it's just where I try to learn more tricks... I haven't had a lot of luck figuring out css to make designs like this where the borders are smaller than the outside width of the footer or header to do what I want them to, so instead, I get all the images to line up and am now trying to squeeze in the sideboxes. This worked fine on the right sideboxes because they are left justfied, but not so well on the left since I can't figure out how to right justify them...

Thanks in advance for the help!! :D
Sarah

20 Mar 2009, 10:38 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: Can I right justify the left sideboxes?

Why not make it easy and set the table width to match the inside of the border and center the table in the containing div?

20 Mar 2009, 10:41 PM
#3
ssdsarah avatar

ssdsarah

New Zenner

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

Re: Can I right justify the left sideboxes?

Sounds like a great plan... is there somewhere I can read exactly how to do that without breaking anything, cuz I don't already know how...

Thanks!!
Sarah

20 Mar 2009, 11:22 PM
#4
ssdsarah avatar

ssdsarah

New Zenner

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

Re: Can I right justify the left sideboxes?

OMGosh, I did it... I'm not 100% sure I could explain it, but I did it...

I just changed style sheet to say this:
#navColumnOneWrapper{
margin-left: 12em;
margin-right: 0.5em;
}

#navColumnTwoWrapper {
margin-left: 0.5em;
margin-right: 0.5em;
}

I had to separate the two columns from each other, but it seems that #navColumnOneWrapper is the left column for side boxes, and the #navColumnTwoWrapper is the right column for sideboxes...

WOOHOO!! :D

Huggles!!
Sarah