02-27-2008, 01:01 PM
|
#7 (permalink)
|
|
The Contributor
Join Date: Apr 2005
Location: Kent, UK
Posts: 54
Thanks: 0
|
But my browser viewport size is almost NEVER the same as my screen resolution. And the bigger the resolution, the more likely it is that a user will not have the browser at full screen. For example this screen is at 1200px width, but the browser is about 1000px wide. Min-width and max-width (and the conditional statement for IE6) are specifically designed to handle that situation, your resolution detecting javascript is not, and the javascript approach is never recommended in any of the other pro forums I use.
On the odd occasions I've used 1400px wide monitors or wider still ones, I've usually had the browser open at half the screen width. That's very useful when comparing how two browsers display things, for example, even on my 1200px wide screen.
Why is my browser not full screen? Because I've just this instant seen the email show a new one arrive as its display just changed. Or I'm copying some stuff from a Word doc to a web page, or using a database and checking that the online one matches the offline data. Lots of times I have FF and IE running side by side, especially when troubleshooting a design.
Resolution sniffing is not the answer.
|
|
|
|