Interesting code project

Posted by admin on September 25th, 2011 at 6:31 pm

I may write some php to grab UA strings and make them into handy CSS body classes which web designers can use to aid their own cross browser issues, in a nice solid safe way.

for instance:

<body class=”IE7 7-54″>

<body class=”FF 3-6″>

I’ve tried his with JS but its not very reliable as there is allways a chance that some users have JS off, or that they are restricted to update.. these users will inevetibly be the ones  using the  browsers you are having trouble in ‘ie6′ for instance. having it applied server side, means you cant run into any trouble.

You’d never need this sort of stuff for a simpe blog design, but a more complicated site, maybe.

Leave a Reply

Preview

  1.  

    |