Re: marker in h1

Giganews Newsgroups
Subject: Re: marker in h1
Posted by:  Alexander Clauss (aclau…@hrzpub.tu-darmstadt.de)
Date: Sun, 17 Dec 2006

Sjef <manuals-scrip…@planet.nl> wrote:

> In fact it is the title of an article, so I want an icon depicting
> 'article' in front of the title. I saw in the css2 specs the option of
> markers. but I cann't get it to work.

None of the "big" browsers supports markers. But you may use something
like this instead:

h1.article:before {
  content: url(image.jpg);
  /* ... */
}

This is supported by many browsers.

--
Alexander

Replies

None

In response to

marker in h1 posted by Sjef on Sun, 17 Dec 2006