[Seaside] conditionally including a css

sergio_101 sergiolist at village-buzz.com
Sun Feb 28 23:39:00 UTC 2010


On Sun, Feb 28, 2010 at 6:13 PM, Chris Kermiet <k1 at indra.com> wrote:
> The  lt  in the conditional comment means Less Than.
>

thanks!

i did a little looking around on with the method finder, and found it.

just in case any other newbies are intersted, the code looks like this:

       anHtmlRoot if lessThan ie8 do: [
               anHtmlRoot stylesheet
                       addScreen;
                       addProjection;
                       resourceUrl: 'css/blueprint/ie.css' ].

thanks again!


-- 

----
peace,
sergio
photographer, journalist, visionary

http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101


More information about the seaside mailing list