W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: several CSS suggestions

From: David <julian37@ifrance.com>
Date: Sun, 12 Oct 2003 15:56:03 +0200
Message-Id: <D181D66A-FCBB-11D7-AF2B-000393A56AE8@ifrance.com>
Cc: www-style@w3.org
To: david@dorward.me.uk


> a[href] { /* internal style */ }
> a[href^="http:"] { /* external style */ }
> a[href^="http://www.kryogenix.org"] { /* internal style */ }
>
> ... or you can avoid absolute URLs for internal links (e.g. by going
> relative to the root: href="/something/"

Thank you Dave :-)
Received on Sunday, 12 October 2003 09:56:06 UTC

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