More css help please

Soldato
Joined
6 Jan 2006
Posts
3,423
Location
Newcastle upon Tyne
Got a wordpress blog sort of up and running but when you select the 2 column layout it doesnt line up.

Example here

I believe its something to do with the width and the padding but Ive tried to work out the correct width but I sadly cant crack it.

Here is the css (think its the correct section of css rather than copying the whole lot) if anyone can shed any light on it?

Code:
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#container {
	float: left;
	margin: 0 -240px 0 0;
	width: 1024px;
}
#content {
	margin: 0 280px 0 20px;
	}
#primary,
#secondary {
	float: right;
	overflow: hidden;
	width: 220px;
}
#secondary {
	clear: right;
}
#footer {
	clear: both;
	width: 100%;

If you need to see the whole css file then here is the link

Hopefully it should be something obvious for someone?

Thanks
 
Wow, that would take me months to sort out and Id be on here every hour asking for help haha

I only added 3 divs on top of the twentytwenty theme, how have I broke it??
 
Yeah the logo navbar etc are 20px to the right?

I removed the 20px padding on the single column css and it works, example here but it looks rubbish as it needs the padding to get the text away from the left edge!
 
Ah! I wondered if they were in the wrong place!

Will shift them over now and report back!

Pho-that is the default theme, just took out the logo and replaced it my own.
 
Well that nearly worked! Now it lines up but its also duplicating the images 20px to the right!

Think I'll stick to basic html haha
 
Haha, meh Im going to be, perhaps it will fix itself by the morning?!

Thanks for the help (so far ;) ) though

Mark
 
Just changed it back, but it was on all the pages. Will give it a bash tomorrow if your about.
 
Yes its deinfately the twenty ten theme, I copied it as you said and renamed it then added in my logo and navbar etc. If the html is messed up then I suspect I am to blame for that!
 
Back
Top Bottom