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
Help with min background height
Old 09-29-2009, 07:35 PM Help with min background height
Average Talker

Posts: 16
Name: Jen Starbuck
Trades: 0
I'm new to this, so please bear with the probable stupidity of my question...

I'm working on the pages:

http://www.starbucklifedesign.com/tips.html

http://www.starbucklifedesign.com/contact.html

I cannot get the gray content box to adjust to the height of the contents like the other pages of my website. This is the only page that has only floating items in the content box.

Can anyone advise me what needs to be adjusted on either the CSS or HTML on each page to fix this issue to have the gray content box long enough for the text?

Thanks!
jstarbuck is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-30-2009, 05:33 AM Re: Help with min background height
tuestunim's Avatar
Experienced Talker

Posts: 41
Name: Scott Brown
Location: Huddersfield, UK
Trades: 0
Hi,

Add this to your stylesheet:

Code:
div.text { overflow: auto; }
It's a great little clearing trick and will get your background image to fill the container.

Scott.
__________________
jQuery's beginning to make my avatar less true
Please login or register to view this content. Registration is FREE
tuestunim is offline
Reply With Quote
View Public Profile Visit tuestunim's homepage!
 
Old 09-30-2009, 03:53 PM Re: Help with min background height
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
It's a great little clearing trick and will get your background image to fill the container.
What it DOES is clear the float forcing the div to "wrap" around it's contents. It actually doesn't do a thing to the background image.

I would suggest you read our stickies on clearing floats.
__________________
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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-30-2009, 04:22 PM Re: Help with min background height
Average Talker

Posts: 16
Name: Jen Starbuck
Trades: 0
That did the trick! Thank you SO much!!
jstarbuck is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help with min background height
 

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