Page 1 of 1

A users OS and browser

PostPosted: Mon Oct 12, 2009 8:06 pm
by MaxD
What difference does a users OS make to how a browser renders a page? Logic would suggest none but recently two instances have caused me to ask. On a discussion forum a user points out that a page renders incorrectly on his Linux powered PC using Firefox. On my dev site a page viewed through the same version of IE8 will render differently on two PCs using XP and Vista respectively, which can't be explained entirely by different screen sizes, asthe smaller screen PC using XP renders the page OK in Firefox.

Re: A users OS and browser

PostPosted: Tue Oct 13, 2009 12:34 am
by syrupcore
they can definitely be different though I'm not entirely sure about why. For sure, on the mac all of the fonts are smoothed and this can make headlines and small small type render pretty differently.

we occasionally get bugs from firefox on linux, particularly when it comes to flash/video.

Re: A users OS and browser

PostPosted: Tue Oct 13, 2009 8:56 am
by MaxD
Hi Syrupcore. The differences are more marked than that unfortunately. In the XP version of IE the content is being forced south, whereas in the Vista version it looks OK. Firefox looks OK too.

Re: A users OS and browser

PostPosted: Tue Oct 13, 2009 7:50 pm
by syrupcore
can you share the URL? Are you sure both versions of IE8 are in the same mode (ie7 mode, ie8 compatibility mode, ie8 mode)?

Re: A users OS and browser

PostPosted: Wed Oct 14, 2009 1:37 pm
by MaxD
I would add a url, but its an early release and still in development. I'll drop back maybe next week.

Strangely though on my isp home page there is an ad which says 'we have detected you are using XP, scan your PC now' (Its genuine but I have no intention of using it). Presumably if its possible to detect your OS its possible to affect how a browser renders a page?

Re: A users OS and browser

PostPosted: Wed Oct 14, 2009 7:56 pm
by syrupcore
for sure, you can detect OS and browser via the HTTP headers sent by the browser and serve something differently but man, what a pain. two+ codebases and the user agent strings are notoriously inaccurate... if you can solve it without going down that path, do!

Here's some Q&A around the topic: http://stackoverflow.com/questions/1008 ... -detection

there's lots more info (and warnings) out there.

Re: A users OS and browser

PostPosted: Thu Oct 15, 2009 7:51 pm
by MaxD
As it turns out the problems are a bit more mundane. Turns out I had 'compatability mode' enabled on IE8 which prevented a menu working properly :roll: so you were right about checking the settings thanks. Content boxes need a bit of reworking too.

Interesting about the OS detection though. May come more important as mobile phones get even more sophisticated. Apparently someone has already installed wordpress on a Palm Pre