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

Pseudo-class :framed for the body element

From: m.m. wargers <martijnw@dolfijn.nl>
Date: Thu, 3 Apr 2003 17:44:16 -0500 (EST)
Message-ID: <001801c2fa32$6d27aa20$ff7dfb3e@wolkje>
To: <www-style@w3.org>
I was thinking. Would it be useful if one could style a page differently if it is inside a frame?
body{background-color:blue;}
body:framed{background-color:green;}

Also I was wondering for the :checked pseudo-class. Wouldn't it be more useful if one could use it for all elements?
a{background-color:blue;}
a:checked{background-color:green;}

Regards, Martijn 
Received on Friday, 4 April 2003 04:26:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT