Problem with size of webpage using Surface computer RRS feed

  • Question

  • User1394318050 posted

    I have a Project with a masterpage and a css file.

    In design mode the default page size is reduced to about 20%. When I run the Project in debug the page is shown in full size.

    I get a similar result when I just put a.png image on a default page without master and css files.

    The image is reduced in size on the default page, but is full size in debug mode.

    Tuesday, July 31, 2018 3:28 PM

All replies

  • User753101303 posted


    Looks like a CSS pixel ratio issue. See https://juiceboxinteractive.com/blog/a-pixel-is-not-a-pixel-designing-for-a-new-generation-of-mobile-devices/ and use F12 tools to check the actual size taken. The image is rendered without explicit width and height values ?

    Tuesday, July 31, 2018 3:51 PM
  • User1394318050 posted

    There is no explicit width or height.

    Can you explain more in detail what I have to do to fix this problem?

    Thursday, September 20, 2018 7:05 PM
  • User753101303 posted

    Not sure, it was just an attempt to better understand your issue.

    You have this issue on the design surface for a web form in VS ? If it applies to absolutely everything could it be that you have a zoom factor on the design surface or in the browser?

    Friday, September 21, 2018 6:05 AM