Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2004
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Removing link color from button

    I feel stupid for asking this, but is there a way I can remove the link colored box around my button? I tried the <a href="" style="text-decoration: none;"> but it doesnt work when you use images as links.

  • #2
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Simply ad border="0" in your <img> tag.

    Example:

    <img src="http://www.yourdomain.com/pic/me.jpg" width="100" height="100"
    alt="picture of me" border="0">

  • #3
    New Coder
    Join Date
    Sep 2004
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    oh ya, lol, thanks. shoulda though of that

  • #4
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Noooooo! That's a presentational attribute -- it will pollute the web for future generations, along with the <font> pollution we already suffer from.

    No that I've finished my rant, here's how to change it using CSS
    Code:
    a img {border:none}

    I take no responsibility for the above nonsense.


    Left Justified


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •