I'm currently using WordPress on my (in-progress) personal website and I'm making a theme from the 'Kubrick' theme that ships with the software. The only problem is that in the CSS the two content areas (Main Area | Sidebar) are controlled with 'float: left' and 'float: right'. While this is fine, on shorter pages the actual content area only goes as far as the sidebar.
So, my question is, is there a. a better way to do the two areas or b. a way to force the background to go as far as any content? I haven't finished re-doing the code yet so cosmetically some of it doesn't match up, but that isn't the most important thing yet.
I'd say my knowledge with XHTML and CSS is basic at best, so I'm sure some flaky thing I've done with CSS has caused this to happen. :p
Question
+jamesyfx Subscriber²
Hi,
I'm currently using WordPress on my (in-progress) personal website and I'm making a theme from the 'Kubrick' theme that ships with the software. The only problem is that in the CSS the two content areas (Main Area | Sidebar) are controlled with 'float: left' and 'float: right'. While this is fine, on shorter pages the actual content area only goes as far as the sidebar.
So, my question is, is there a. a better way to do the two areas or b. a way to force the background to go as far as any content? I haven't finished re-doing the code yet so cosmetically some of it doesn't match up, but that isn't the most important thing yet.
I'd say my knowledge with XHTML and CSS is basic at best, so I'm sure some flaky thing I've done with CSS has caused this to happen. :p
Here's a link to a problem page.
http://jamesyfx.com/blog/?page_id=2
Thanks for any advice!
Link to comment
Share on other sites
19 answers to this question
Recommended Posts