Hi,
My site is not applying its IE stylesheet when using IE and it seems that it is to do with the order of the stylesheets linked. Since the SS ones are inserted automagically, how do I make sure that the IE stylesheet links appear last?
Sorry if this is something simple, but I have had a look around and cant seem to find an answer. :(
Here is the code:
<head>
$MetaTags(false)
<link rel="shortcut icon" href="favicon.ico" />
<% base_tag %>
<title>TAANZ - $MetaTitle</title>
<!--[if IE 6]>
<style type="text/css">
@import url($ThemeDir/css/ie6.css);
</style>
<![endif]-->
<!--[if IE 7]>
<style type="text/css">
@import url($ThemeDir/css/ie7.css);
</style>
<![endif]-->
</head>
and this is how it appears when viewing page source:
<title>TAANZ - Without a Travel Agent You're on Your Own</title>
<!--[if IE 6]>
<style type="text/css">
@import url(themes/taanz/css/ie6.css);
</style>
<![endif]-->
<!--[if IE 7]>
<style type="text/css">
@import url(themes/taanz/css/ie7.css);
</style>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/themes/taanz/css/form.css" >
<link rel="stylesheet" type="text/css" href="/themes/taanz/css/typography.css" >
<link rel="stylesheet" type="text/css" href="/themes/taanz/css/layout.css" >
</head>
PS. Every time I try to post, the forums break, until I copy everything out and start a new post, then it works:
Fatal error: Call to a member function setField() on a non-object in /sites/ssopen/www/forum/code/Forum.php on line 647