A better way of doing that would be to use JavaScript to control which file gets loaded. This is the awesomest bestest way of doing this I have seen: http://www.themaninblue.com/writing/perspective/2006/01/19/
This keeps the css completely separate from your CF code. On 4/5/06, Michel Deloux <[EMAIL PROTECTED]> wrote: > Hi all > > I'm looking for tips about how to use css files based in screen resolution. > > By now I'm include in application.cfm a template(screenresolution.cfm) with > Ajax. In Ajax I'll store in session var that screen resolution. > > But when load any template occurs an error: variable > session.screenresolution is undefined. > > Loading screenresolution.cfm with javascript alert shows me OK. > > What's wrong? > > Cheers > > MD > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237064 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

