W3C home > Mailing lists > Public > www-style@w3.org > January 2004

Re: Adding header information to a css stylesheet

From: Martin E <espmartin@hotmail.com>
Date: Tue, 20 Jan 2004 19:39:35 -0800
To: "Richard Weir" <Richard.Weir@computershare.com.au>
Cc: <www-style@w3.org>
Message-ID: <BAY2-DAV155FgzZZSVG00003bb9@hotmail.com>
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


  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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:10 UTC