You are here: Screen resolution « PHP Programming Language « IT news, forums, messages
Screen resolution

Posted by Steve Wright on 10/16/06 22:50

Hi

I'm developing a webpage that needs to include a different stylesheet
depending on the screen resolution.

I know that I could read the resolution in javascript and then do some
sort of stylesheet switcher as part of the onload event but I would
rather link in the correct stylesheet for the resolution in the first
place.

Is there anyway of reading the screen resolution using PHP?

Please don't flame me about "screen resolution being useless as not
everyone browses in a maximised window". This is for intranet
application where I know the browser will be IE6 with javascript enabled
running in full screen mode and toolbars hidden. I also know the three
possible screen resolutions that it could be.
--
Steve Wright

 

Navigation:

[Reply to this 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

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