Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Internet & the Web (https://www.askmehelpdesk.com/forumdisplay.php?f=177)
-   -   Reading a web visitors browser size (https://www.askmehelpdesk.com/showthread.php?t=590325)

  • Jul 31, 2011, 02:06 AM
    colbtech
    Reading a web visitors browser size
    I'm trying to create a web page that I would like to be able to view on any size browser. Is there a script or some sort of trick that I can read the visitors browser size before displaying?
  • Jul 31, 2011, 10:00 PM
    FadedMaster
    This can be done with JavaScript.

    http://www.javascripter.net/faq/browserw.htm

    Back in the day I used to just design my sites to fit on 800x600, but now most people have at least a 1024x768 resolution. So that's one thing you can always go by.
  • Aug 1, 2011, 12:12 AM
    colbtech
    That's great, thank you. I'm surprise that CSS doesn't have a [centre command] that reads the browser. Will give this a try.

  • All times are GMT -7. The time now is 07:01 PM.