1347 Posts in 439 Topics by 514 members
|Go to End|
5 May 2011 at 10:00am
I've been developing a theme with a client for the past month or so, and of course IE was just released along with it. Anyway, the theme has a flash intro which of course now of course doesn't work in IE9. Through a little bit of my research I found that Adobe is working on a fix, so in the interim I just wanted to swap out the Flash with an image. But I have not been able to get the conditional statements to work. They work fine in just plain HTML sites but when I add them to the SilverStripe theme it's as though they aren't even there.
Here is what I am using:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
<% base_tag %>
<title><% if MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> » $SiteConfig.Title</title>
<link rel="stylesheet" type="text/css" href="/themes/loris/css/layout.css" />
<link rel="stylesheet" type="text/css" href="/themes/loris/css/typography.css" />
<link rel="stylesheet" type="text/css" href="/themes/loris/css/form.css" />
<!--[if IE 9]>
has anyone else had any issues?
1 June 2011 at 7:02am
Not sure if you are still needing help on this... have you tried using a <link/> tag instead of the @import?
|Go to Top|