removing link outline around buttons


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: removing link outline around buttons

  1. #1
    Brian Guest

    removing link outline around buttons

    I have several buttons that link to various locations. Right now the
    buttons have a blue or pink? outline around them (for visisted/unvisited
    links) that I don't want. How do I get rid of the link outlines on the
    buttons but not affect the rest of the page.

    Thanks in advance.



  2. #2
    Avron Polakow Guest

    Re: removing link outline around buttons

    Add to the <IMG ..> tag: BORDER=0.

    If that doesn't help add the following styles in your <head> section:

    <STYLE type="text/css">
    A:link {text-decoration: none;}
    A:visited {text-decoration: none;}
    A:active {text-decoration: none;}
    A:hover {text-decoration: none;}
    </STYLE>

    Brian wrote:

    > I have several buttons that link to various locations. Right now the
    > buttons have a blue or pink? outline around them (for visisted/unvisited
    > links) that I don't want. How do I get rid of the link outlines on the
    > buttons but not affect the rest of the page.
    >
    > Thanks in advance.



  3. #3
    Ajith Edassery Guest

    Re: removing link outline around buttons


    Hi,
    The BORDER property of the IMG tags should be set to 0. If any SPAN is used,
    see the BORDER property of that as well.

    Thanks,

    "Brian" <brian.martens@wcom.com> wrote:
    >I have several buttons that link to various locations. Right now the
    >buttons have a blue or pink? outline around them (for visisted/unvisited
    >links) that I don't want. How do I get rid of the link outlines on the
    >buttons but not affect the rest of the page.
    >
    >Thanks in advance.
    >
    >



  4. #4
    Jay B. Guest

    Re: removing link outline around buttons


    Right click the image in your html editor, check the Image Properties, then
    Appearance, then set Border Thickness to '0' (zero). The color around the
    button is usually the same as the hyperlink color on the page where you put
    the button. NOTE that Border Thickness with nothing = default, and default
    is to have the line around the button. You need to set it to zero.
    Hope this helps,
    J.


    "Brian" <brian.martens@wcom.com> wrote:
    >I have several buttons that link to various locations. Right now the
    >buttons have a blue or pink? outline around them (for visisted/unvisited
    >links) that I don't want. How do I get rid of the link outlines on the
    >buttons but not affect the rest of the page.
    >
    >Thanks in advance.
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center