Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Different stylesheets for browsers


al3ks

Recommended Posts

I want to have 3 different style sheets for different browsers, one for Internet explorer, google chrome and the original one.

How can I link the stylesheets to only apply to the specific browsers?

 

Regards

Aleksander

Find this post helpful? Click the 'Like this' button. :)

Link to comment
Share on other sites

google 'conditional stylesheets' for an extensive list of how to do this. For multiple stylesheets just list them in the header and the programming searches through them all. Though not necessary, to speed up your site you want to paste the contents of all your stylesheets into one stylesheet.

 

Alternatives to conditional stylesheets are conditional css selectors such as:

positioniseverything dot net/articles/cc-plus.html

 

 

or conditional css statements such as:

paulirish dot com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...