Reply to Re: Screen Res Question

Your name:

Reply:


Posted by Michael Fesser on 10/25/07 15:12

..oO(Sanders Kaufman)

>"Michael Fesser" <netizen@gmx.de> wrote in message
>news:0aush3pkvmeh0r8pbai51si1b4vdjmruej@4ax.com...
>>
>> My "Why" was meant as a response to "capture ... the users screen res".
>
>Wow, you gotta know this one.
>In one old app, I checked that setting because I knew some OLD people who
>use 640x480 would be on the site.

What does the screen res tell you about the size of the browser window
and its viewport? Exactly nothing.

>In the current one, I'm checking it to see if they're coming at me with a
>PDA or Cell Phone.
>(I totally gave up on just using the server user agent.)

I don't do any sniffing at all. I write flexible HTML and if I want to
improve the appearance on PDAs (until now it wasn't really necessary),
I could add another stylesheet with media type 'handheld'. For older PDA
browsers I could also add a simple stylesheet switcher just in case they
don't support that media type.

There's almost always a better way than browser or screen res sniffing.

Micha

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация