Using css, when text has 'text-decoration:underline;' applied, is it possible to increase the distance between the text and the underline?
+4
A:
No, but you could go with something like border-bottom: 1px solid #000
and padding-bottom: 3px
.
edit: if you want the same color of the "underline" (which in my expample is a border), you just leave out the color declaration, i.e. border-bottom-width: 1px
and border-bottom-style: solid
.
chelmertz
2009-11-14 15:50:23
A:
This is not exactly what you were asking for, but it was an interesting read on the subject:
Peter Rowell
2009-11-14 15:53:53