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

Re: Pseudo-class :framed for the body element

From: Yung-Fong Tang <ftang@netscape.com>
Date: Tue, 08 Apr 2003 16:01:28 -0700
Message-ID: <3E9354C8.8050304@netscape.com>
To: www-style@w3.org


Coises wrote:

>[Thu, 3 Apr 2003 17:44:16 -0500 (EST)] m.m. wargers:
>  
>
>>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;}
>>    
>>
>
>I think so... but with a reservation.
>
>I don't see much sense in distinguishing merely *whether* a document is
>being shown in a frame, without any clue as to *which* frame it's in.  The
>document might be loaded into a different site's frameset, which might
>have nothing to do with one's reasons wanting to style the document
>differently for display in the frame in which it was expected to appear.
>  
>
hum... some other thoguht. How about the frame which the user is 
currenlty focus on? The page designer may want to show a golden border 
if the user is focus on that frame. A nice way to select frame to print.

>  
>
Received on Tuesday, 8 April 2003 19:03:55 GMT

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