Hello,
I'm running Drupal 5.1.
Is there a way to have a separate stylesheet for IE in a theme? I've searched the Drupal site, and found a few things, but none of them work.
- jody
Hi,
On maandag 25 juni 2007, Jody Cleveland wrote:
Is there a way to have a separate stylesheet for IE in a theme? I've searched the Drupal site, and found a few things, but none of them work.
This is not a Drupal thing. Look on google for conditional Comments and CSS.
Regards, Bèr Kessels
You can detect the browser using get_browser or $_SERVER['HTTP_USER_AGENT'] and then add/delete stylesheets using the technique shown here: http://drupal.org/node/135161
CSS conditionals are the more common method I've seen for handling this. As Bèr said, you should check that out if you haven't already done so.