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 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    84
    Thanks
    5
    Thanked 0 Times in 0 Posts

    it's highlighting links i dont want?

    hello,

    here is my site:

    http://modernwarefare2.co.uk/

    it's highlighting the buttons i dont want it too, its doing it because ive used "a visited" I only want it for links not buttons.

    Code:
    <style type="text/css">
    <!--
    .style1 {color: #FFFFFF}
    body {
    	background-color: #000000;
    }
    .style3 {
    	color: #FFFFFF;
    	font-family: "Arial"; 
            font-size: 14px;
           
     	}
    .copy {
    	color: #FFFFFF;
    	font-family: "Arial"; 
            font-size: 10px;
           
     	}
    .topheadertxt {
    	color: #FFFFFF;
    	font-family: "Helvetica"; 
            font-size: 12px;
            margin: 20px;
     	}
    .style1 {
    	color: #FFFFFF;
    	font-family: "Arial"; 
            font-size: 11px;
     	}
    
    
    a:hover {
    	color:#FF8C00;
            text-decoration : underline; 
    }
    
    a:visited {
    	color:#FF8C00;
            text-decoration : underline;
    }
    
    
    .txt {
    	color: #FFFFFF;
    	font-family: "Arial";
    	font-size: large;
    }
    .bigcontact {
    	color: #FFFFFF;
    	font-family: "Arial";
    	font-size: xx-large;
    }
    
    .lcdstyle { 
    background-color:black;
    color:white;
    font: bold 18px MS Sans Serif;
    padding: 3px;
    }
    
    .lcdstyle sup { 
    color: #FFFFFF;
    font-size: 80%
    }
    
    
    -->
    </style>
    Code:
    <table width="886" height="84" border="0">
      <tr>
        <th width="200" valign="top" scope="col" span class="topheadertxt"><div align="center"><!--start--><!--<a href="/"><p>Home</a>-->
    <a href="/"><img src="./images/home.jpg" /></a> 
    <!--end-->
    </p>
        <br><br><p><!--start--><!--<a href="contact.php">Contact Us</a>-->
    <a href="contact.php"><img src="./images/contact.jpg" /></a> 
    <!--end-->
    </p></th>
        <th width="464" height="84" scope="col"><a href="/"><img src="./images/mw2.jpg" /></a></th>
        <th width="200" height="84" valign="top" scope="col" span class="topheadertxt"><p><!--start--><!--<a href="preorder.php">Pre-order</a>-->
    
    <a href="preorder.php"><img src="./images/preorder.jpg" /></a> 
    <!--end-->
    </p>
       <!-- <br>--><br><p><!--start--><!--<a href="hlur.php">How long until release?</a>-->
    <a href="hlur.php"><img src="./images/hlur.jpg" /></a> 
    <!--end-->
    </p></th>
      </tr>
    </table></span>
    Thanksss

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Just add
    Code:
    a img{
    border:none;
    }
    into your CSS.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    sphinx1994 (05-02-2009)

  • #3
    New Coder
    Join Date
    Jan 2009
    Posts
    84
    Thanks
    5
    Thanked 0 Times in 0 Posts
    thanks


  •  

    Posting Permissions

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