ich hab eine Schwierigkeit vor mir liegen welche mir meinen letzten nerv raubt. es geht um ":before".
habe mittels
#posting p a:link:before { content:url(images/beforer.jpg)" "; }
#posting p a:link:before { content:url(images/beforer.jpg)" "; }
#posting p a:visited:before { content:url(images/beforer.jpg)" "; }
#posting a:img:before { content: none; }
...überall das bild "beforer.jpg" vor links angefügt. dummerweise setzt es mir nun auch vor bilder-links diese bild hin. ein kleines bild welches verlinkt ist verfügt nun ebenfalls über das "beforer.jpg" bild.
html code:
div id="posting">
<p><br class="spacer_"></p>
<h3><span style="color: rgb(0, 0, 0);">TITEL<br></span><strong>Untertitel</strong></h3>
<h2><span style="color: rgb(0, 0, 0);"><a href="http://www.link.com/bild.jpg"><img title="bild-3" src="http://www.link.com/bild.jpg" alt="bild" height="260" width="240"></a>Bild</span></h2>
…
wie bringe ich nun das bild "beforer.jpg" vor allen bilder-links weg?
danke für eure hilfe!