CSS Help Needed [Please Lock]
3 posts
Page 1 of 1
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
-Comathi-
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

-Comathi-
Last edited by comathi on Thu Dec 29, 2011 1:23 am, edited 1 time in total.
Oh, nevermind, I think I have figured it out.... thanks anyways 

3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023