Jump to content


CSS Help


3 replies to this topic

#1 Apache

    P2L Jedi

  • Twodded Staff
  • PipPipPip
  • 778 posts
  • Location:London, UK

Posted 27 March 2005 - 11:08 AM

I am currently designing a website based solely in DIV's. I have a container which is the box in which all other content is enclosed. The container also displays the BG image.

My Problem is that i cannot get the container to stretch using height:100%;. Does anybody know how i can do this?

#2 Spooky

    Rooster

  • Members
  • PipPip
  • 463 posts
  • Gender:Male
  • Location:Littleton, CO
  • Interests:Web Design, Programming, Client Management, Web Hosting, Tutorial Writing

Posted 27 March 2005 - 12:14 PM

I would not recommend using percentages with div's. If I were you just place the background image on the body and have a header, and a second container for your content, then a footer container. So something like this:

body { background: #FFF url(background.fil) top center repeat-y; }

That is if you have a background that is repeating downward in the middle of the page starting from the top.

Hope I helped. =).

#3 Apache

    P2L Jedi

  • Twodded Staff
  • PipPipPip
  • 778 posts
  • Location:London, UK

Posted 27 March 2005 - 12:24 PM

LOL OMG i cant believe i didnt think of that lol k :P thx

#4 Spooky

    Rooster

  • Members
  • PipPip
  • 463 posts
  • Gender:Male
  • Location:Littleton, CO
  • Interests:Web Design, Programming, Client Management, Web Hosting, Tutorial Writing

Posted 27 March 2005 - 02:14 PM

You're welcome, feel free to ask anymore questions... I know your pain =p.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users