The text-decoration-color
property
sets the color for the text-decoration: underline, overline, linethrough.
text-decoration-color: color;
text-decoration-color |
No | No | 6.0 -moz- | No | No |
<!DOCTYPE html>
<html>
<head>
<style>
p {<!-- ww w . j av a 2 s . c o m-->
text-decoration: underline;
-moz-text-decoration-color: red; /* Code for Firefox */
text-decoration-color: red;
}
</style>
</head>
<body>
<p>this is a test!</p>
</body>
</html>