CSS: how do I set border in a hyperlink?
-
In style.css I specify a double border for my images as suggested in the WP docs:
p img {
...
border: double black 1px
}That works. However, when I try to make this a hyperlink, as in:
<a href="/path"><img src="/path/to/image"></a>
The border on my image goes away.
Does anybody have an idea on how to fix that?
Thanks everybody,
George
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘CSS: how do I set border in a hyperlink?’ is closed to new replies.