Re: Adding header information to a css stylesheet

You're on the right list...

Here are two links that explain exactly how to do what you want. Be warned that IE 5.x, 6.0 does _not_ support the content property:

1.    http://www.w3.org/TR/REC-CSS2/generate.html
2.    http://www.w3schools.com/css/pr_gen_content.asp


Basically, the content property is used with the :before & :after pseudo-elements. They generate content you specify either before or after the selector.

Martin E.

----- Original Message ----- 
  From: Richard Weir 
  To: 'fantasai' 
  Cc: 'www-style@w3.org' 
  Sent: Tuesday, January 20, 2004 6:43 PM
  Subject: RE: Adding header information to a css stylesheet



  THat is the one I am on. Both my email and ours are displayed in it.

  -----Original Message-----
  From: fantasai [mailto:fantasai@escape.com]
  Sent: Wednesday, 21 January 2004 1:48 PM
  To: Richard Weir
  Cc: www-style@w3.org
  Subject: Re: Adding header information to a css stylesheet


  Richard Weir wrote:
  > Hi there,
  > 
  > I am wanting to add some code to my .css so that every html document that
  > uses this stylesheet will be given a header with a gif and text in it. 
  > 
  > Does anyone know how to do this?

  You're on the wrong mailing list. See
  http://lists.w3.org/Archives/Public/www-style/

  ~fantasai


  ---
  This email and any files transmitted with it are solely intended for the use of the addressee(s) and may contain information that is confidential and privileged.  If you receive this email in error, please advise us by return email immediately.  Please also disregard the contents of the email, delete it and destroy any copies immediately.
  Computershare Limited and its subsidiaries do not accept liability for the views expressed in the email or for the consequences of any computer viruses that may be transmitted with this email.
  This email is also subject to copyright.  No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner.

Received on Tuesday, 20 January 2004 22:39:30 UTC