Getting rid of image link attributes

liunx

Guest
OK, I give in.<br /><br />Tell me how I do it...<br /><br />I have an image which I've expressly told to ignore the rules in my main content div, like this:<br /><br />a img {border: none; background: white;}<br /><br />But it's still insisting target="_blank">http://www.artyit.co.uk/projects/seb/index.html, and the image is way down, the target="_blank">http://www.bengribbin.com <br /><!--content-->
Thanks, Wildo and BenG. <br /><br />Your suggestions <i>should</i> have worked, but didn't - I still got a red background style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /><br /><br />Oli<!--content-->
bow down to Olivier's genius - he'll definitely be able to help you fix things...<!--content-->
<!--quoteo(post=5677:date=May 31 2007, 02:09 PM:name=olivier)--><div class='quotetop'>QUOTE(olivier @ May 31 2007, 02:09 PM) [snapback]5677[/snapback]</div><div class='quotemain'><!--quotec-->I think it has to do with specificity.<br />When declaring <br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->#content p a:hover, #content h4 a:hover<!--c2--></div><!--ec2--><br /><br />The #content makes your declaration more specific than the style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /><br /><br />Oli<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br />YOU GENIUS, YOU! <br /><br />YES, I'M SHOUTING!! <br /><br />(And bowing down at the same time...)<br /><br />It works a treat, and your explanation makes perfect sense.<br /><br />THANK YOU, OLI!!<br /><br /><!--content-->
<!--quoteo(post=5678:date=May 31 2007, 02:39 PM:name=Eskymo)--><div class='quotetop'>QUOTE(Eskymo @ May 31 2007, 02:39 PM) [snapback]5678[/snapback]</div><div class='quotemain'><!--quotec-->bow down to Olivier's genius - he'll definitely be able to help you fix things...<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br />Can I get up now?<br /><br /><!--content-->
yeah...I think he's gone, so it's safe!<!--content-->
I'm blushing now <img src="http://www.webdesignerforum.co.uk/style_emoticons/default/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> <br /><br />Glad I could help you.<br /><br />Oli<!--content-->
 
Back
Top