![]() |
Internet explorer 6 - CSS
Hello all.
Is there a way to have a template conditional for Internet Explorer 6 ? I find this in the headinclude template: HTML Code:
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')"> I want to include in my headinclude template special css class to use with IE6 (like above for opera 8). Thanks! :) |
The easiest way to do this is to use what Microsoft calls "Conditional Comments". Internet Explorer is the only browser to use these constructs.
Code:
<!--[if IE 6]> You could also do something like: Code:
<!--[if lt IE 7]> |
Ok, thank you Wayne ;)
|
All times are GMT. The time now is 09:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|