fixed height.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • malik.mayank@gmail.com

    #1

    fixed height.

    I am new to CSS and I want to have a fixed width web page that covers
    the entire area on the browser window. Something like http://maps.google.com


    I want the height to be equal to browser window... not 100%

    How can I accomplish that?


    Thanks in advance for all the help.


    - Mayank


  • Joost Diepenmaat

    #2
    Re: fixed height.

    "malik.mayank@g mail.com" <malik.mayank@g mail.comwrites:
    I am new to CSS and I want to have a fixed width web page that covers
    the entire area on the browser window. Something like http://maps.google.com
    >
    >
    I want the height to be equal to browser window... not 100%
    100% IS the height of the browser window.

    Cheers,
    J.

    --
    Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/

    Comment

    • dorayme

      #3
      Re: fixed height.

      In article
      <bc5bae20-a8be-4cda-ae6f-d97e9e3f8cda@s3 7g2000prg.googl egroups.com>,
      "malik.mayank@g mail.com" <malik.mayank@g mail.comwrote:
      I want the height to be equal to browser window... not 100%
      What is this supposed to mean?

      --
      dorayme

      Comment

      • John Hosking

        #4
        Re: fixed height.

        dorayme wrote:
        In article
        <bc5bae20-a8be-4cda-ae6f-d97e9e3f8cda@s3 7g2000prg.googl egroups.com>,
        oh, here's the problem right here ^^^^^^^^^^^^^^^ ^
        "malik.mayank@g mail.com" <malik.mayank@g mail.comwrote:
        >
        >I want the height to be equal to browser window... not 100%
        >
        What is this supposed to mean?
        Wait a minute; you don't understand only the part that you quoted? You
        actually understand and accept this:
        >I want to have a fixed width web page that covers
        >the entire area on the browser window.
        ?

        I think my brain is missing some important vitamins...


        --
        John
        Let us not forget the UIP: http://improve-usenet.org/

        Comment

        • Ben C

          #5
          Re: fixed height.

          On 2008-04-03, John Hosking <John@DELETE.Ho sking.name.INVA LIDwrote:
          dorayme wrote:
          >In article
          ><bc5bae20-a8be-4cda-ae6f-d97e9e3f8cda@s3 7g2000prg.googl egroups.com>,
          oh, here's the problem right here ^^^^^^^^^^^^^^^ ^
          > "malik.mayank@g mail.com" <malik.mayank@g mail.comwrote:
          >>
          >>I want the height to be equal to browser window... not 100%
          >>
          >What is this supposed to mean?
          >
          Wait a minute; you don't understand only the part that you quoted? You
          actually understand and accept this:
          >
          >>I want to have a fixed width web page that covers
          >>the entire area on the browser window.
          >
          ?
          >
          I think my brain is missing some important vitamins...
          I couldn't understand it either, but it occurs to me that this could
          mean the OP wants to cover up the browser's toolbars and menus and other
          decorations with content.

          This is theoretically possible if you set overflow: visible on the root
          element (which means setting it on BODY in an HTML UA, the usual
          weirdness).

          You could then set height: 110% or so on BODY, but you would have to
          guess how far to go.

          But most desktop window managers don't ever allow a window's contents to
          jump outside it.

          Comment

          • Jeff

            #6
            Re: fixed height.

            malik.mayank@gm ail.com wrote:
            I am new to CSS and I want to have a fixed width web page that covers
            the entire area on the browser window. Something like http://maps.google.com
            Nobody really knows what you want.

            But lets look at maps.google.com .

            How is that done? Well that is an AJAX script that uses a variety of
            client side scripting and absolutely and relatively positioned divs.

            What I think you want to know is overflow which would be applied to a
            fixed width/height div. I believe it could also work with an IFRAME.

            Jeff
            >
            >
            I want the height to be equal to browser window... not 100%
            >
            How can I accomplish that?
            >
            >
            Thanks in advance for all the help.
            >
            >
            - Mayank
            >
            >

            Comment

            Working...