[Radiant] Stylesheets

Harvey Bernstein hb at bsemple.com
Thu Aug 3 11:27:27 CDT 2006


Guys I wonder if you can point me in the right direction.  I need to have
two separate style sheets.  One specially for IE6.

Here is part of my layout:-


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <style type="text/css" media="screen">@import
"/stylesheets/style.css";</style>
<!--[if lt IE 7]>
    <style type="text/css" media="screen">@import
"/stylesheets/styleIE6.css";</style>
<![endif]-->
    <style type="text/css" media="print">@import
"/stylesheets/print.css";</style>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Bird Semple - <r:title /></title>
    <link rel="bookmark" href="<r:snippet name="website-url"
/>images/bsweb/favicon.ico"/>
    <link rel="shortcut icon" href="<r:snippet name="website-url"
/>images/bsweb/favicon.ico"">
    <r:snippet name="javascript" />
  </head>


Here is the issue, when I'm using IE6, radiant serves up the standard
stylesheet, not the specific IE6 version.  I created a really simple static
test HTML doc using the identical code and when I viewed this in IE6 it was
sucking in the correct stylesheet.  Am I doing something really stupid?

I would really appreciate any pointers

Regards
Harvey


This e-mail has been scanned for all viruses by MessageLabs.



More information about the Radiant mailing list