Forums / Templates, Stylesheets, Page Layout / Content in "Blank sidebox" not lining up

Content in "Blank sidebox" not lining up

Locked

Views: 1,167

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 May 2007, 7:21 PM
#1
margecc avatar

margecc

Zen Follower

Join Date:
Feb 2007
Location:
Ontario, Canada
Posts:
234
Plugin Contributions:
0

Content in "Blank sidebox" not lining up

The site is http://www.actionforms.ca/officesupplies/

I used the Blank sidebox download and called it button_sidebox. I have added the necessary buttons to the box, turned off the header and border (I am trying to mesh it with my current site). The problem is that the buttons aren't lining up with the category box below, or the logo above. I am toyed with my CSS and now I am at a loss. It think if I could just get them left aligned it would work, but I can't get them to move at all.

Any input would be appreciated.

Thanks, Colleen
www.af-company.com
To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

25 May 2007, 1:29 PM
#2
lib99 avatar

lib99

Totally Zenned

Join Date:
Dec 2004
Location:
New York, USA
Posts:
965
Plugin Contributions:
0

Re: Content in "Blank sidebox" not lining up

The Blank Sidebox contribution is probably a little out of date. Newer ZC versions steer away from using tables and instead use CSS for style and positioning.

Try comparing your code in the tpl_blank_sidebox.php to another (simple) core sidebox template. By removing the table codes your content should start to fall into place. A handy tool for design experimentation is Mozilla Firefox browser add-on Firebug.

25 May 2007, 2:52 PM
#3
margecc avatar

margecc

Zen Follower

Join Date:
Feb 2007
Location:
Ontario, Canada
Posts:
234
Plugin Contributions:
0

Re: Content in "Blank sidebox" not lining up

lib99:

By removing the table codes your content should start to fall into place.

You were totally right. I didn't even think of that!! I am struggling with formatting entire pages with CSS, still stuck in the old days. What I actually did was remove the tables just a vspace to the images. Worked like a charm!

Thanks, Colleen
www.af-company.com
To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978