Thomas J.S.: LINK wie bei html: href für xml?

Beitrag lesen

Hallo,

Darin soll ein link dargestellt werden. Beim Anzeigen im Browser (Mozilla) erkennt man zwar dass es ein link sein soll(hover), aber die weiterleitung funzt nicht...
Geht das mit css überhaupt,

Nein.

oder muß ich da xslt verwenden, und wenn, wie geht das?

Nicht unbedingt:

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/css" href="layout.css"?>
<data xmlns:html="http://www.w3.org/1999/xhtml">
 <text>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</text>
 <text>Lorem ipsum dolor sit amet, (<html:a href="http://www.irgendwas.de">Link zu irgendwas</html:a>) consectetuer adipiscing elit.</text>
</data>

---------  layout.css --------
data {
 display:block;
 font-family:sans-serif;
}
text {
 display:block;
 margin:10px;
 border:solid 1px #d3d3d3;
 width:300px;
}
a { color:#ee0000; text-decoration:none; }
a:hover { color:#ee0000; text-decoration:none; background-color:#ffa6bb; cursor:pointer; }

Der IE hat eben Probleme mit :hover, aber der Link funktioniert.
Grüße
Thomas