W3C home > Mailing lists > Public > www-style@w3.org > November 2003

Cookies and Styles

From: Dris <dris86@cox.net>
Date: Wed, 19 Nov 2003 17:41:05 -0600
Message-Id: <D7EF23A2-1AE9-11D8-B559-000A95A18252@cox.net>
To: www-style@w3.org

This may be falling to far into the realm of scripting, but what if we 
could specify different styles according to a cookie set on the client 
side?  Something like...

p::ifCookie('bigText') {
	font-size: 15px;

Currently, scripting would still need to be applied for setting the 
cookies...  Since the cookies can't be controlled through CSS alone, 
I'm not sure that this would be appropriate.  But it would definitely 
open up some possibilities.  Thoughts?
"Irony is a voluntary survey with required fields."
	~ Dris ~
Received on Wednesday, 19 November 2003 18:41:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:10 UTC