...

View Full Version : remove blue surround from image link



crmpicco
02-03-2008, 06:39 PM
Is it possible to remove the blue surround donating a link on the footer images at: http://www.ayrshireminis.com/index2.php

The HTML:


<div class="text_v_small_dark" style="width: 100%">
Copyright &copy; 2007-2008 AyrshireMinis.com <a href="mailto:info~NOSPAM~@ayrshireminis.com?Subject=Message from AyrshireMinis.com" style="text-decoration: underline;">CRMPicco</a><br><br>
<a href="#" style="text-decoration: none;">
<img src="/mini/images/mysql.gif" alt="MySQL" title="<?php echo $mysql ?>" onMouseOver="style.cursor='pointer'">
</a>
<a href="http://jigsaw.w3.org/css-validator/validator?uri=www.ayrshireminis.com/mini/inc/style.css">
<img src="/mini/images/css.png" alt="Valid CSS" title="<?php echo $css ?>" onMouseOver="style.cursor='pointer'">
</a>
<a href="http://validator.w3.org/check?uri=http://www.<?php echo $_SERVER["SERVER_NAME"] . $_SERVER["PHP_SELF"]; ?>">
<img alt="Valid HTML" title="<?php echo $html ?>" src="/mini/images/html401.png" onMouseOver="style.cursor='pointer'">
</a>
<a href="#">
<img alt="PHP" title="<?php echo $php ?>" src="/mini/images/php.gif" onMouseOver="style.cursor='pointer'">
</a>
</div>


Affects both FF2 and IE7.

Ta, Picco

CaptainB
02-03-2008, 06:45 PM
Add to your css. This method will automatically remove the blue border from all linked images in any page that uses that .css file:

img
{ border-style: none;
}

coothead
02-03-2008, 06:51 PM
Hi there crmpicco,

CaptainB's suggestion will solve the problem but as other images may require borders, add this to your stylesheet...


.text_v_small_dark img {
border:0 solid;
}

coothead

oesxyl
02-03-2008, 07:50 PM
Hi there crmpicco,

CaptainB's suggestion will solve the problem but as other images may require borders, add this to your stylesheet...


.text_v_small_dark img {
border:0 solid;
}

coothead
if the border have 0 units, can't be solid or what ever you want. I guess that this is valid css but have no logic, IMO is a validator bug. :)

best regards



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum