Results 1 to 11 of 11

Thread: (CSS) defining a div's height relitave to the window size

Threaded View

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (CSS) defining a div's height relitave to the window size

    I am trying to set a divs height to 100% but it is not listening.
    Code:
    <div style="width:100%;height:100%;overflow:auto;text-align:center;background:red;">
    (i put the style for the sake of simplifying this post). If i set it to a specific size (not %) it will do it. Can anyone tell my why it wont work or another way to go about it?
    thanks
    michael
    Last edited by msimmons; Apr 19th, 2002 at 01:29 PM.
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width