Re : Pseudo-class :framed for the body element

> 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
<body>.
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
"iframed"?

Les Brown

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