12

I'm making a responsive website where I need to test my webpage's css, html, javascript rendering on 2400px resolution while my screen is only 1900px.

8

9 Answers 9

5

If you hit Ctrl+Shift+M in recent versions of Firefox, you'll enter Responsive Design View, which can resize the browser viewport to be larger than the actual screen size. You can also take screenshots and simulate touch events from FF 26 onwards.

Screenshot of RDV
Click for full size

You might find it easier to resize after you make the window smaller - you can drag the sizers further in one go. Or just enter a custom preset from the dropdown.

2
  • Is there an api for this option ? For enabling it via js code injected either from website or from inside an addon? Jul 18, 2014 at 15:22
  • @KamalReddy I don't think you'd be able to do so from within the content context (website), but it should be possible from the chrome context (addon). Well, in the future anyway. Perhaps you can simulate the Ctrl+Shift+M?
    – Bob
    Jul 18, 2014 at 15:33
4

In Chrome browser:

  1. Press F12. This will open DevTools.

  2. Click a settings icon in the lower right corner. This will open DevTools Settings.

  3. Go to Overrides on the left menu.

  4. Check Enable and Device metrics.

  5. Type in the Screen resolution

I always use it, it's really convenient.

1

You can try this website it let you test your web page with any screen resolution it let you choose from a preset resolutions or enter your custom resolution. hope you find these lines helpful.

2
  • Being blocked by our proxy server. Is that a pointer to another site, or is that PHP page the actual page of the tool? Dec 24, 2013 at 16:52
  • the PHP page that I've added here is the actual page of the tool
    – kamalam
    Nov 10, 2015 at 20:28
0

This question is probably more suited for Webmasters but I'll take a stab at it and suggest ViewLikeUs which

allows you to check out how your website looks in the most popular resolution formats.

1
0

Add a custom screen resolution in your video card's control panel.

3
  • 3
    Resolutions greater than supported by the screen? Could you provide more details how to configure this and what it looks like?
    – Daniel Beck
    Dec 12, 2012 at 17:10
  • @DanielBeck This YouTube tutorial link is for nVidia cards. Fairly similar for ATI/AMD.
    – GENiEBEN
    Dec 12, 2012 at 17:54
  • 2
    @ElGenieben That video explicitly warns at 0:39 that you could damage your display by setting a resolution that's too high. Dec 12, 2012 at 19:43
0

Try out this online resolution tester, it offers variety of different resolutions to test your site with, just enter the url of your site, select a resolution and check it out.

http://www.webestools.com/resolution-tester-screen-size-page-design-test-screen-resolution-website-online-display.html

Hope this helps!!!

0

You could try the addon for Chrome: Resolution tester that supports custom resolutions :)

0

Just change the zoom on your browser, when you zoom out, essentially your window size is reporting a bigger and bigger width to your application.

example jsfiddle here, just click on the button, see the width it's reporting, then zoom out a little and click the same button-- it'll report a larger size.

0

Try the custom resolution settings in the device emulator in Google Chrome. It gives you more control than using the browser's zoom functionality.

Enable the device emulator and check the 'zoom to fit' option.

Manually enter resolutions up to 9999px wide (or drag the edges of the emulated screen. The emulated resolution will be scaled to fit in your own viewport.

You can keep the resolution height low actually as you will be able to scroll down anyway. This way you can keep the inspector open too. A great workflow for web development!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .