Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Working out rendered page size

    Hi All,

    Does anyone know of a way to work out the size of an html page that is displayed in a client browser. Basically I want to dispaly the page size on the page itself.

    Appologies if this is in the wrog forum but this has been buggomg me for a couple of days now,

    Many thanks and cheers in advance,

    Paul.

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by pbeechey
    I want to dispaly the page size on the page itself.
    then just use percentages as your unit of measurement in your stylesheet!
    *keep it simple (TM)

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    i think they literally want to display the page size on the page somewhere, not have it to where it adjust to the users browser, but i dont know how to do what they r asking for

  • #4
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by _Aerospace_Eng_
    i think they literally want to display the page size on the page somewhere, not have it to where it adjust to the users browser.
    oh yes, just re-read it. then they need to google on 'javascript write +"screen resolution"'.
    *keep it simple (TM)

  • #5
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry, I dont think I have asked the question correctly.

    Wjhat I need to know isd the physical size if the screen in KiloBytes and display that! Basically its to so that we have a metric for performance.

    Hope this clarifies,

    Paul.


  •  

    Posting Permissions

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