You would probably be better off using liquid layouts rather than specific
screen resolutions.  Liquid layouts use relative measurements(percentages
and ems) for fonts, widths, margins, padding and positioning rather than
absolute measurements (pixels, points).

I'm assuming that you are trying to use your session.screenresolution before
it is actually defined.  Check to see where you are using it and when it is
being set. 


Sandra Clark
==============================
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility
I'm naked today!  CSS Naked Day 


-----Original Message-----
From: Michel Deloux [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 11:56 AM
To: CF-Talk
Subject: css file based in screen resolution

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:237015
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to