Reply
fluid content area
Old 05-09-2008, 08:48 PM fluid content area
Experienced Talker

Posts: 34
here is the website: http://dolanfoundation.org/
and css: http://dolanfoundation.org/dolancss.css

hey there! this is my first time here, so I hope nobody minds if I go right into asking a question. well, I'm designing a site for a friend, but this is my first real attempt at a fully css html site. I'm having trouble making the content area stretch in height when the text is longer than the space. I thought I did it correctly by putting this in the content div:
Code:
background: url(images/midbg.jpg) repeat-y;
height: 100%;
min-height: 330px;
but if you scroll down on the website you will see how the text goes beyond the content area. Is there something I forgot to do? or is this something that I can easily change? thanks in advance!
tronicscribe is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-09-2008, 10:07 PM Re: fluid content area
Inet411's Avatar
Skilled Talker

Posts: 81
Name: programmer
Location: internet
I'm not a css guy but I looked at your source and was able to create the desired result. Whether it is the correct way to do it...I don't know.

Where your html is:
HTML Code:
<h4>Contributions</h4>
If you would like to lend us a hand, please go to our contributions page.  The Dolan Foundation relies on the charity and assistance of men and women like you.</span>

</div>
<div id="footer"></div>

</div>


</body>
add:
HTML Code:
<div style="clear:both;"></div>
Like so:
HTML Code:
<h4>Contributions</h4>
If you would like to lend us a hand, please go to our contributions page.  The Dolan Foundation relies on the charity and assistance of men and women like you.</span>
<div style="clear:both;"></div>
</div>
<div id="footer"></div>

</div>


</body>
Try it. Hope it helps

EDIT: I only tested this is firefox 3 beta 5
Inet411 is offline
Reply With Quote
View Public Profile Visit Inet411's homepage!
 
Old 05-09-2008, 11:51 PM Re: fluid content area
Experienced Talker

Posts: 34
that worked great! thanks so much. I'm gunna have to look up what clear:both means though, lol, so I can at least understand how it is working. thanks again!
tronicscribe is offline
Reply With Quote
View Public Profile
 
Old 05-10-2008, 07:00 PM Re: fluid content area
LadynRed's Avatar
Super Moderator

Posts: 6,072
Location: Tennessee
What you need to look up is how to CLEAR FLOATS.
clear:both means just that - it clears the side and bottom of the float. You might also look up www.w3schools.com.

You have a LOT of validation errors, mostly stemming from your incorrect nesting of your styles.. wrapping spans around Headigns and divs is incorrect.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club

Last edited by LadynRed : 05-10-2008 at 07:01 PM.
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to fluid content area
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12926 seconds with 13 queries