1. I've started a massive SPAM purge, any accounts that have spammed are being removed, also for a short period new user signups are disallowed until the SPAM cleaning is finished.

How to make IMAGE link in web site without decoration with css?

Discussion in '(X)HTML / CSS' started by bitane, Aug 25, 2011.

  1. bitane

    bitane New Member

    Joined:
    Jun 17, 2011
    Messages:
    269
    Likes Received:
    0
    Trophy Points:
    0
    Hi,


    in my site their are images which links to another page, but i want to display it without any decoration, but it is a link so it has a blue border which i don't like. I want IMAGE without any decoration with css.
    I use link,alink,vlink in <body> tab but HTML 4.01 dues not support it.
    Loading...
  2. way2web

    way2web New Member

    Joined:
    Sep 28, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    use border:none or border=0
  3. enKonversations

    enKonversations Member

    Joined:
    Sep 28, 2011
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    I think you need change in your CSS if you don't want any decoration.
  4. amitweb07

    amitweb07 Guest

    just put it <a href="link" border=0>image</a>

    that will work defenitly
  5. mtrick

    mtrick Member

    Joined:
    Nov 17, 2011
    Messages:
    164
    Likes Received:
    4
    Trophy Points:
    18
    Gender:
    Male
    it is simple

    < a href="ww.google.com"><img src="text.jpg" / ></a>
  6. sanamgupta

    sanamgupta New Member

    Joined:
    Nov 7, 2014
    Messages:
    22
    Likes Received:
    1
    Trophy Points:
    3
    Gender:
    Female
    Links can be styled with any CSS property such as color, font-family, background and so on. On the other hand, links can be styled differently depending on what state they are in. some of the important links states are:

    • a:link - a normal, unvisited link
    • a:visited - a link the user has visited
    • a:hover - a link when the user mouses over it
    • a:active - a link the moment it is clicked
    Example:

    /* unvisited link */a:link {
    color: #FF0000;
    }
    /* visited link */a:visited {
    color: #00FF00;
    }
    /* mouse over link */a:hover {
    color: #FF00FF;
    }
    /* selected link */a:active {
    color: #0000FF;
    }

Share This Page