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]
|