I am trying to make my own IPB skin. So far it looks perfect in Firefox, but it looks awful in IE.
So what I am trying to do is use a different stylesheet according to the user's browser.
So I made two CSS files: 'css_ie.css' and 'css_other.css'
This is what I have tried in: All Global HTML > css_external:
<style type="text/css" media="all">
<if="$this->ipsclass->browser['browser'] == ie">
<if="$this->ipsclass->vars['board_url'] != '' AND $this->ipsclass->vars['board_url'] != '.'">
@import url({$this->ipsclass->vars['board_url']}/style_images/css_ie.css);
<else />
@import url(style_images/css_ie.css);
</if>
</if>
<else />
<if="$this->ipsclass->vars['board_url'] != '' AND $this->ipsclass->vars['board_url'] != '.'">
@import url({$this->ipsclass->vars['board_url']}/style_images/css_other.css);
<else />
@import url(style_images/css_other.css);
</if>
</style>
But with that it acts like there is no stylesheet (as the attachment shows).
So does anyone know what I am doing wrong here?
Any help is appreciated.
Thanks,
Brad.
