When I reload the page, the link is changed to a bold style once again, whenever I The links are visited. How can I display the correct style of link?
CSS:
.pname1 a {text-decoration: none; Color: # 444;} .pname1 a: link {margin-left: 5px; Font-weight: bold;} Pname1 a: Visited {margin-left: 5px; Font-size: 12px; Font-weight: normal;} Pname1 {width: 250px; Height: 60px; } A: Hover {text-decoration: underline;}
HTML:
& lt; Td class = "pname1" & gt; & Lt; A href = "javascript: sv (& lt ;? php echo $ row ['test']? & Gt;)" target = "_self" & gt; & Lt ;? Php echo 'test'? & Gt; & Lt; / A & gt; & Lt; / Td> My guess is because you are not actually linking to a file. Instead, you are calling a javascript function. Your browser is browsing a link using the base browsing history. When you call this JavaScript function, this browser does not create an entry in the history.
Comments
Post a Comment