Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



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

Posts: 56
Trades: 0
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
 
 
Register now for full access!
Old 05-09-2008, 11:07 PM Re: fluid content area
Inet411's Avatar
Skilled Talker

Posts: 88
Name: programmer
Location: internet
Trades: 0
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
__________________

Please login or register to view this content. Registration is FREE

Inet411 is offline
Reply With Quote
View Public Profile Visit Inet411's homepage!
 
Old 05-10-2008, 12:51 AM Re: fluid content area
Skilled Talker

Posts: 56
Trades: 0
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, 08:00 PM Re: fluid content area
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.54739 seconds with 12 queries