Domain Discussion Board

Go Back   Domain Discussion Board > Web Hosting & Web Design > Scripts

 
Reply
 
LinkBack Thread Tools Display Modes
Help with CSS!
Old
  (#1 (permalink))
stealthboy
Member
stealthboy is on a distinguished road
 
stealthboy's Avatar
 
Status: Offline
Posts: 61
Points: 2,855.6
Bank: 0.0
Total Points: 2,855.6
Donate
Join Date: Apr 2008
Rep Power: 1
Help with CSS! - 05-23-2008, 11:31 AM

Okay, guys, I really hope someone can help me out.

My Problem:

I have a div, and I need it's height to equal the size of the document height.
Here is the website, and the last div with the white box inside is the one I need help with.

I have tried height:100%.

Nothing seems to work.

If anyone can help, please do and thanks!
   
Reply With Quote
Re: Help with CSS!
Old
  (#2 (permalink))
javayahtzee
Platinum Member
javayahtzee is on a distinguished road
 
javayahtzee's Avatar
 
Status: Offline
Posts: 792
Points: 258.3
Bank: 1,298.9
Total Points: 1,557.2
Donate
Join Date: Mar 2008
Location: ∞
Rep Power: 0
Re: Help with CSS! - 05-23-2008, 12:49 PM

would you like the rounded portion to fill all the space, or just the gray background?
if you just want the background, you can simply set the background image for the body element like this
Code:
body{ background: url(bgstrip.png) repeat-y center center}
and then have bgstrip.png be a long image that's repeated from the top of the body to the bottom

make sense?
   
Reply With Quote
Sponsored Links
Re: Help with CSS!
Old
  (#3 (permalink))
stealthboy
Member
stealthboy is on a distinguished road
 
stealthboy's Avatar
 
Status: Offline
Posts: 61
Points: 2,855.6
Bank: 0.0
Total Points: 2,855.6
Donate
Join Date: Apr 2008
Rep Power: 1
Re: Help with CSS! - 05-23-2008, 01:10 PM

Actually, I want both of them to do that.
But thanks, I'll see what I can come up with with that idea!
   
Reply With Quote
Re: Help with CSS!
Old
  (#4 (permalink))
EnZo
Platinum Member
EnZo is on a distinguished road
 
EnZo's Avatar
 
Status: Offline
Posts: 989
Points: 190.1
Bank: 41,470.9
Total Points: 41,661.0
Donate
Join Date: Aug 2007
Location: Romania
Rep Power: 2
Re: Help with CSS! - 05-28-2008, 01:25 PM

just add a 'min-height: NNNpx;' (where NNN is a number between 100 and 900)property to the CSS class or ID of the white div. That way it'll always have a minimum height of the specified value. The higher the value, the longer the white div will stretch down.

Hope this helps!


Quote:
Vacation mode: [On] - this means that I'm currently not doing any work so don't even bother contacting me. Basically now I'm just a lazy bastard that likes to post only to earn the easy 5ddp/thread. :D

A mans dreams are an index to his greatness.


http://www.phantomsoftware.org/ - Need a site? We're the ones you're looking for!

   
Reply With Quote
Re: Help with CSS!
Old
  (#5 (permalink))
stealthboy
Member
stealthboy is on a distinguished road
 
stealthboy's Avatar
 
Status: Offline
Posts: 61
Points: 2,855.6
Bank: 0.0
Total Points: 2,855.6
Donate
Join Date: Apr 2008
Rep Power: 1
Re: Help with CSS! - 05-31-2008, 07:45 AM

Thanks for your help Enzo.
   
Reply With Quote
Reply


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Points Per Thread View: 0.1
Points Per Thread: 15.0
Points Per Reply: 5.0



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 ©2007, Crawlability, Inc.