[Seaside] Browser Information
goran at krampe.se
goran at krampe.se
Wed Aug 16 19:08:28 UTC 2006
Hi!
Ramon Leon <ramonleon at cox.net> wrote:
> Hi, wondering if anyone knows how to get at browser info from within
> Seaside? In .Net the web server captures a bunch of information in
> Server.ServerVariables dictionary, most of that stuff I can find in
> HttpRequest, I can find the referrer, user-agent, and host, but I need
> the screen resolution. I need to deliver a different css stylesheet
> depending on the users screen resolution and can't seem to find anything
> that'll work.
Also note that using the unit "em" makes your stylesheets "resolution
aware" in a sense.
AFAIK it is the recommended unit for font sizing for example.
regards, Göran
More information about the Seaside
mailing list