Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    20
    Member #
    25227
    The site im currently building has several images as links but I get this ugly blue border around the image when I turn it into a link. What style property do I change to remove the blue border?

  2.  

  3. #2
    Senior Member
    Join Date
    Dec 2008
    Posts
    483
    Member #
    17875
    Liked
    1 times
    <style type="text/css">
    a img{border:none;}
    </style>

    Put this in the head section of your website - or even better - in an external stylesheet.

    Linking Style Sheets to HTML


    This means - any img tag, inside an anchor tag - apply no border.
    <a href="#"><img src="test.jpg" alt="visit me!"></a>


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:56 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com