Can't get sidebar to go all the way over to the left.

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
amawson
Regular
Posts: 8
Joined: Sun Jan 28, 2007 9:42 pm

Can't get sidebar to go all the way over to the left.

Post by amawson »

please take a look at http://www.eclecticfabulosa.com - I'm trying to get the left sidebar to be flush to the left to align with the top banner - no matter what I do, I can't get the sidebar to shift over to the left those last couple of pixels (tried float, relative position) nothing seems to budge it over to the left - trying to do the same between the left sidebar and the banner so the join between the two is seamless - any ideas?
amawson
Regular
Posts: 8
Joined: Sun Jan 28, 2007 9:42 pm

boxes in boxes

Post by amawson »

So here's the answer to my own question. The css blocks or 'divs' in the serendipity templates are boxes within boxes. The banner box and the sidebar box are not adjacent. The sidebar box is inside the mainpane box. The mainpain box is adjacent to the banner box. Change the mainpain background color to match the header and sidebar which fills in the space above the sidebar and at the extreme left margin. Now make the content box (also within the mainpain) background-color = white.
Post Reply