CSS Red Line Through?
Dig it. I'm working on a new site. I need the a:hover in the CSS to line through in red(with black text.) I have seen it done in Flash..thats easy. I need it to work in HTML/CSS.. Anyone have a nice clean coded solution? I have been experimenting with the following code to try and get it to work.
Basically using the inline command to try and define a certain values of the css style I'm working on.
End result should be: black underlined text as the a:link. and the a:hover should be black text with a red line through. I've gotten pretty close tweaking the inline stye around. still no avail.
Ex code:
p {
display: inline;
}
p.lthrough {
text-decoration: line-through; color: #000;
}
p.lthrough span {
color: #900;
}
----
This looks to have more possibility?
</p>
<p class="lthrough">
<span> ?</span>
</p>
This is a test.
</p>
Any takers???..when im done if I can get it.. It will look slick and I will make the CSS publicly available for all to download.
__________________
"Design is so simple, that's why it is so complicated" - Paul Rand
|