[Seaside] conditionally including a css
Miguel Enrique Cobá Martinez
miguel.coba at gmail.com
Sun Feb 28 21:47:48 UTC 2010
El dom, 28-02-2010 a las 12:46 -0500, sergio_101 escribió:
> using blueprintcss, i need to be able to conditionally include the IE stuff...
>
> as in:
>
> <!--[if lt IE 8]><link rel="stylesheet" href="css/blueprint/ie.css"
> type="text/css" media="screen, projection"><![endif]-->
>
> i am using seaside 3.0a..
>
> i have my css inside the a file library "CssLibrary"
>
> how would i go about doing this?
>
I don't know in 3.0 but in 2.8 I have:
"Blueprint CSS framework"
anHtmlRoot stylesheet
addScreen;
addProjection;
resourceUrl: 'css/blueprint/screen.css'.
anHtmlRoot stylesheet
addPrint;
resourceUrl: 'css/blueprint/print.css'.
anHtmlRoot if ie do: [
anHtmlRoot stylesheet
addScreen;
addProjection;
resourceUrl: 'css/blueprint/ie.css' ].
anHtmlRoot stylesheet
addScreen;
addProjection;
resourceUrl: 'css/blueprint/plugins/fancy-type/screen.css'.
> thanks!
>
>
>
--
Miguel Cobá
http://miguel.leugim.com.mx
More information about the seaside
mailing list