Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Resizing a webpage according to the screen size/ Resolution

Resizing a webpage according to the screen size/ Resolution

Scheduled Pinned Locked Moved ASP.NET
javascripthtmlcsshelp
6 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    revathilavi
    wrote on last edited by
    #1

    i Would like to know the code for resizing the webpage according to the screen size or the screen resolution please help me.it can either be using css, javascript or html

    J B D 3 Replies Last reply
    0
    • R revathilavi

      i Would like to know the code for resizing the webpage according to the screen size or the screen resolution please help me.it can either be using css, javascript or html

      J Offline
      J Offline
      Jasmine2501
      wrote on last edited by
      #2

      This is called "Responsive Design" meaning the web page responds to different device sizes... Now that you know what it is called, you should be able to research the subject yourself. It is complicated, and you're going to have to make the decisions yourself about how to approach it for your situation... https://www.google.com/?q=responsive%20web%20design[^]

      R 1 Reply Last reply
      0
      • J Jasmine2501

        This is called "Responsive Design" meaning the web page responds to different device sizes... Now that you know what it is called, you should be able to research the subject yourself. It is complicated, and you're going to have to make the decisions yourself about how to approach it for your situation... https://www.google.com/?q=responsive%20web%20design[^]

        R Offline
        R Offline
        revathilavi
        wrote on last edited by
        #3

        Thank you Jasmine2501 :)

        1 Reply Last reply
        0
        • R revathilavi

          i Would like to know the code for resizing the webpage according to the screen size or the screen resolution please help me.it can either be using css, javascript or html

          B Offline
          B Offline
          Bernhard Hiller
          wrote on last edited by
          #4

          "screen size" is not OK: do you expect all your users to run their web browsers maximized? I don't - and I get annoyed by some stupidly designed web pages assuming that they can use 2560 pixels wide (or sometimes even 4480 pixels, since I have two monitors). The client size of the browser is the correct value!

          R 1 Reply Last reply
          0
          • R revathilavi

            i Would like to know the code for resizing the webpage according to the screen size or the screen resolution please help me.it can either be using css, javascript or html

            D Offline
            D Offline
            dusty_dex
            wrote on last edited by
            #5

            If you adjust for browser or, screen size, you will still need to think about printer friendly version of your web pages. ;)

            1 Reply Last reply
            0
            • B Bernhard Hiller

              "screen size" is not OK: do you expect all your users to run their web browsers maximized? I don't - and I get annoyed by some stupidly designed web pages assuming that they can use 2560 pixels wide (or sometimes even 4480 pixels, since I have two monitors). The client size of the browser is the correct value!

              R Offline
              R Offline
              revathilavi
              wrote on last edited by
              #6

              I am not looking for any browser pixels i was looking for a page which does not show much of a whitespace.......please read the post properly....

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups