I would suggest not trying to find out, but instead learning how to
design your CSS stylesheets to be independant of screen size.
I’m not really good at layout design, but the book “Cascading Style
Sheets (3rd ed)” by Hakon Wium Lie and Bert Bos was helpful to me.
Maybe try here:
Google may help find good tutorials.
Nathan L. wrote:
What’s the easiest or best way to determine the screen size from within
a controller or view in Rails? My “divs” look great at 1280x800, but
not so hot on 800x600. I want to dynamically alter the layout based on
the resolution. Any hints regarding screen size or alternate ways of
handling this issue would be appreciated.