Remove Image Link Styling

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mcfly1204
    New Member
    • Jul 2007
    • 233

    Remove Image Link Styling

    I have an image link, an image within an anchor tag, that I would like to remove the styling of. When I say styling, I mean the default blue box around the image. I have tried:

    text-decoration: none;

    which I use to remove the underline from links, but this did not remove the box around the image link. Any thoughts?
  • Freaky Chris
    New Member
    • Dec 2007
    • 24

    #2
    Not to difficult however it often seem's to be a problem for people but its as follows:

    Code:
    <a href="http://www.thescripts.com"><img src="example.png" [B]border="0"[/B] /></a>
    the border property of image tags lests you asign the size and by setting it to 0 it is not at all visible thus removing the color when a hyperlink is applied.

    Hope this helps

    Chris

    Comment

    • mcfly1204
      New Member
      • Jul 2007
      • 233

      #3
      Oh geez.... can you tell this is my last day of work for the next two weeks? Thanks.

      Comment

      • Freaky Chris
        New Member
        • Dec 2007
        • 24

        #4
        Your welcome, i know that feeling myself.

        its quite often i have memory laps' and forget some of the simplest things in the world.

        Chris

        Comment

        Working...