[Radiant] Stylesheets
Jay Levitt
lists-radiant at shopwatch.org
Thu Aug 3 13:25:51 CDT 2006
Harvey Bernstein wrote:
> Guys I wonder if you can point me in the right direction. I need to have
> two separate style sheets. One specially for IE6.
>
Hmm... the javascript that loads that stylesheet shouldn't know or care
if it's Radiant or something else that's rendering it. It all happens
on the client side.
Have you tried taking that static HTML page and putting it in a single
Radiant page - no filter, no behavior, no snippets or layout - and
seeing how it renders?
Jay Levitt
> 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.
> _______________________________________________
> Radiant mailing list
> Radiant at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant
More information about the Radiant
mailing list