Re: Title attribute and css selectors

On Sun, 16 Mar 2008 21:13:00 +0100, Paul Nelson (ATC)  
<paulnel@winse.microsoft.com> wrote:
> One question that needs to be answered is whether or not the <title> is  
> 'text'.
>
> Being found within the <head> element, which is composed of a lot of  
> non-text types of things, it really is not reasonable to consider that  
> the <title> is not for styling purposes...or it might have been included  
> in the <body> portion of the document.
>
> The title is normally displayed outside of the context of the body or  
> the client window where the content is rendered. Perhaps Linux, or some  
> other OS, wants to allow for any application to style their windowing  
> system. That is, however, outside of the scope of the CSS specification  
> and should never be considered normative.

FWIW, the question was about the title _attribute_. (Though presumably the  
tooltip it typically generates was meant and not the attribute itself.)  
The title element can be styled perfectly fine in all compliant CSS UAs.  
Just do

   head, title { display:block }

to make it visible for instance within the document.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Sunday, 16 March 2008 21:59:48 UTC