The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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')"> <style type="text/css" id="vbulletin_opera8fix_css"> ul, ol { padding-$stylevar[left]:20px; } </style> I want to include in my headinclude template special css class to use with IE6 (like above for opera 8). Thanks! ![]() |
#2
|
||||
|
||||
![]()
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]> Special instructions for IE 6 here <![endif]--> You could also do something like: Code:
<!--[if lt IE 7]> Special instructions for IE 6 and earlier here <![endif]--> |
#3
|
|||
|
|||
![]()
Ok, thank you Wayne
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|