CSS Help Needed [Please Lock]

3 posts Page 1 of 1
Contributors
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

CSS Help Needed [Please Lock]
comathi
Alright, so I've been teaching myself CSS and HTML for a few months now, and I've started to program my own templates, which I'll post on my website once they're done.

Anyway, I have a small layout problem. You see, I've set the code up so the page layout goes like this:

Header

Navigation

Content Sidebar

Footer

Now, the header, navigation, and footer work fine, but I'm having problems with the content and the sidebar.

I've set the sidebar's float to "right", to give me the expected result. The content and the sidebar's heights are set to 100%, same for the wrapper in wich they are contained.

Now, the problem is, when a lot of text is put in the sidebar or the content, it overflows on top of the footer, instead of just extending the content and the sidebar's height (the wrapper's too).

I've seen other templates... actually on all other templates, this problem does not occur.

So, my question is: How would I get the text to not overflow over the footer (but I don't want to cut it either.). Basically, how do I get the content div and the sidebar to grow with the text, and both at the same time?

+rep to whoever can help, thanks in advance :D

-Comathi-
Last edited by comathi on Thu Dec 29, 2011 1:23 am, edited 1 time in total.
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Could you post the code, or the project file?
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Oh, nevermind, I think I have figured it out.... thanks anyways :D
3 posts Page 1 of 1
Return to “Help & Support”