Hi,
I have a simple HTML file with a single link. When viewing the HTML and clicking the link, there is no change in the background color. However, after I run the file through the Prince converter, clicking the link in the resulting PDF shows a black background. Is there a way to achieve the same behavior as the HTML, that is, no change in the background color? I tried setting the CSS background-color to white when the link is active, but that did nothing.
Thanks for any help!
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
a:link {
background-color: white;
}
/* visited link */
a:visited {
background-color: white;
}
/* mouse over link */
a:hover {
background-color: white;
}
/* selected link */
a:active {
background-color: white;
}
</style>
</head>
<body>
<table>
<tr><td> </td></tr>
<tr>
<td>
<a href="http://www.cnn.com">
Clicking this link shows a dark background
</a>
</td>
</tr>
</table>
</body>
</html>
I have a simple HTML file with a single link. When viewing the HTML and clicking the link, there is no change in the background color. However, after I run the file through the Prince converter, clicking the link in the resulting PDF shows a black background. Is there a way to achieve the same behavior as the HTML, that is, no change in the background color? I tried setting the CSS background-color to white when the link is active, but that did nothing.
Thanks for any help!
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
a:link {
background-color: white;
}
/* visited link */
a:visited {
background-color: white;
}
/* mouse over link */
a:hover {
background-color: white;
}
/* selected link */
a:active {
background-color: white;
}
</style>
</head>
<body>
<table>
<tr><td> </td></tr>
<tr>
<td>
<a href="http://www.cnn.com">
Clicking this link shows a dark background
</a>
</td>
</tr>
</table>
</body>
</html>