|  | Posted by Hans-Peter Diettrich on 06/16/07 15:10 
Beauregard T. Shagnasty wrote:
 >>>Why not? Can a CSS file not contain visible text?
 >>
 >>No, an external style sheet is just that, a Style Sheet, only
 >>affecting presentation of the document's markup.  The only time you
 >>would see text from a stylesheet is in the case of the Content
 >>property, used in conjunction with :before and :after
 >>pseudo-elements.
 >
 >
 > ...with the caveat that it will not work in the oft-used browser-like
 > operating system component.
 >
 > #contentbox:after {
 >    content: "Copyright 2007. All rights reserved.";
 > }
 >
 > Note you can't place any HTML in this content.
 
 Thanks for all your answers :-)
 
 Another idea: what about browser-plugins?
 
 In general it might be a bad idea, to force users to install a plugin
 before they can see a particular page - what if everybody would do that?
 But in my current project the users would be happy, if they could extend
 the browser capabilities as desired, by installing a plugin.
 
 Concrete question: what's the task of a plugin, what makes the browser
 activate it? Is a plugin related to a special object type, or what else?
 
 DoDi
  Navigation: [Reply to this message] |