Article View: fr.comp.text.xml
Article #8527Re: [debutant] recuperer les attributs en css
From: Thomas Broyer
Date: Mon, 24 Sep 2001 18:32
Date: Mon, 24 Sep 2001 18:32
19 lines
1568 bytes
1568 bytes
In <6WCr7.555$T3.47297@tengri.easynet.fr>, David GRAVOT wrote:
> Comment peut-on afficher les attributs d'une balise avec une feuille de
> style ?
Hum, pas grand chose � voir avec XML en fait, mais y a pas de groupe plus
adapt� donc...
Qui se lance dans un AAD pour cr�er fr.comp.lang.css ?
�'est un truc du genre :
�l�ment {
content: attr(nom-attribut)
}
Voir <http://www.w3.org/TR/CSS2/generate.html>
J'aime bien l'utiliser en HTML en media="print" pour afficher l'URL d'un
lien "en clair" quand on imprime (a:after { content: "(" attr(href) ")" })
Tom.
Technical Details
Message-ID:
<5890764.U67uLZWGnK@ltgt.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!not-for-mailReferences:
<6WCr7.555$T3.47297@tengri.easynet.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,e7b1195a67f7a083 X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-09-24 11:26:05 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!not-for-mail Message-ID: <5890764.U67uLZWGnK@ltgt.net> From: Thomas Broyer <tbroyer@domain.tld.invalid> Subject: Re: [debutant] recuperer les attributs en css Newsgroups: fr.comp.text.xml Reply-To: tbroyer@ltgt.net Mail-Copies-To: nobody Date: Mon, 24 Sep 2001 20:32:54 +0200 References: <6WCr7.555$T3.47297@tengri.easynet.fr> Organization: </> User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit Lines: 19 NNTP-Posting-Date: 24 Sep 2001 20:26:04 MEST NNTP-Posting-Host: 80.11.37.187 X-Trace: 1001355964 news-test.free.fr 26545 80.11.37.187