Jump to content


Making a div 100% height of the screen with CSS?


1 reply to this topic

#1 musilowski

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 06 December 2005 - 08:09 AM

Okay, I'm making a website, and I want a div to be the exact same height as the viewers' browser's screen is.

I've tried;

height:100%;

height:auto;

And some others, but without any luck. I've tried to find the solution from others' websites via source code too...

I guess this is a simple thing, but I just cant figure it out. :huh:

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 06 December 2005 - 04:35 PM

http://www.pixel2lif...showtopic=15367 <-- most help
http://www.pixel2lif...showtopic=16164 <-- some help
http://www.google.co...s+height+100%25 <-- Anything that's been missed

Closing since this has been asked plenty of times here.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users