HTML, CSS and anything else that deals with client side capabilities.
Moderator: General Moderators
Lphp
Forum Commoner
Posts: 74 Joined: Sun Jun 26, 2011 9:56 pm
Post
by Lphp » Mon Jun 10, 2013 7:06 am
I want the visit link have different color , the following code only work on ie not Firefox, what can i do ?
Code: Select all
<style type="text/css">
@media screen{
a:link {
font-family: verdana;
font-size: 9pt;
color: black;
text-decoration: none;
background-color: white;
}
a:visited { text-decoration: line-through;
font-size: 7pt; background:lime;}
}
AbraCadaver
DevNet Master
Posts: 2572 Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:
Post
by AbraCadaver » Mon Jun 10, 2013 10:31 am
Is there more CSS? Maybe another style is more specific and overriding that one.
mysql_function(): WARNING : This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Lphp
Forum Commoner
Posts: 74 Joined: Sun Jun 26, 2011 9:56 pm
Post
by Lphp » Mon Jun 10, 2013 9:38 pm
Code: Select all
<style type="text/css">
@media print{
.NonPrint{ display: none;}
}
</style>
<style type="text/css">
@media screen{
a:link {
/* Applies to links */
font-family: verdana;
font-size: 9pt;
color: black;
text-decoration: none;
background-color: white;
}
a:visited { text-decoration: line-through;
font-size: 7pt; background:lime;}
}
</style>
<p class="NonPrint"><a href=${PAGE}?PageNum=$p> $p </a>