DPI confusion

A

Andrew Poulos

Under XP SP 3:

With IE 6 and the DPI set to 120 it thinks the screen available space on
my monitor with 1024 x 768 resolution is 1024 x 730.

With IE 7 and the DPI set to 120 it thinks the screen available space on
my monitor with 1024 x 730 resolution is 1024 x 730.

With IE 8 and the DPI set to 120 it thinks the screen available space on
my monitor with 1024 x 768 resolution is 819 x 584. Also it looks like
its rescaling images.

This makes it very hard for me to set things out correctly in IE. What's
up with IE 8?

Andrew Poulos
 
T

Thomas 'PointedEars' Lahn

Andrew said:
[...]
With IE 8 and the DPI set to 120 it thinks the screen available space on
my monitor with 1024 x 768 resolution is 819 x 584. Also it looks like
its rescaling images.

This makes it very hard for me to set things out correctly in IE. What's
up with IE 8?

Off-topic. <http://jibbering.com/faq/#posting>


PointedEars
 
A

Andrew Poulos

Thomas said:
Andrew said:
[...]
With IE 8 and the DPI set to 120 it thinks the screen available space on
my monitor with 1024 x 768 resolution is 819 x 584. Also it looks like
its rescaling images.

This makes it very hard for me to set things out correctly in IE. What's
up with IE 8?

Off-topic. <http://jibbering.com/faq/#posting>

No its not. The question is, to re-word it, how do I compensate for IE
8's "logical" resizing of the window, for DPIs other than 96, when I'm
trying to get screen.availableWidth etc?

Andrew Poulos
 
T

Thomas 'PointedEars' Lahn

Andrew said:
Thomas said:
Andrew said:
[...]
With IE 8 and the DPI set to 120 it thinks the screen available space on
my monitor with 1024 x 768 resolution is 819 x 584. Also it looks like
its rescaling images.

This makes it very hard for me to set things out correctly in IE. What's
up with IE 8?
Off-topic. <http://jibbering.com/faq/#posting>

No its not. The question is, to re-word it, how do I compensate for IE
8's "logical" resizing of the window, for DPIs other than 96, when I'm
trying to get screen.availableWidth etc?

Probably simple math will suffice. However, the question is instead, why
you are using the known-to-be-unreliable `screen' object in the first place.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top