Jump to content

[SOLVED] unwanted color php links


garydt

Recommended Posts

I've made a page where it gets photos from a database and puts them into a seperate cell of a html table. Each photo has a link to another webpage. When i test the code each photo has a blue box/border around it. After i've clicked a photo the box/border turns brown as if i've set the a:link and a:visited to those colors but i haven't. Even when i set these to black the box/border around each photo still remains blue and, after i've clicked it, brown. How do i get rid of these boxs/borders?

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--


.style1 {color: #FFFFFF}
.style3 {color: #000099}
body {
background-color: #000000;
}
ul, li { color: #ffffff; }

#Layer1 {
position:absolute;
left:7px;
top:165px;
width:180px;
height:328px;
z-index:1;
}
body,td,th {
color: #FFFFFF;
}
-->
</style>

 

<td valign="top" ><a href="userpage.php?name=<?php echo $uname; ?>"><img src="<?php print $row_Recordset2['imageName'] ?>"></a></td>

Link to comment
https://forums.phpfreaks.com/topic/48135-solved-unwanted-color-php-links/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.