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

Re : Pseudo-class :framed for the body element

From: <leslie.brown@evidian.com>
Date: Fri, 4 Apr 2003 13:08:26 +0200
To: www-style@w3.org
Message-ID: <OF36AE6C1D.FEE34C25-ONC1256CFE.003C77DB@evcl.evidian.com>

> 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;}

...VERY  useful if it could be applied to all elements, and not just
For example, automatically display/hide context menus or warning messages
when a page gets hi-jacked into someone else's frameset.

It might also be useful to be able to distinguish between "framed" and

Les Brown
Received on Friday, 4 April 2003 06:08:30 UTC

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