I have a problem in a site I am creating.
I have styled my post content <a> links in the following way.
And when I insert an link image like so: <a href=""><img src="" /></a>
There seems to be an extra border inherited from my #post-content a style. I have attached the screenshot to show the problem.
This was how my link image should look like:
Can anyone guide me as to how I can fix this problem?
My site URL is here
I have styled my post content <a> links in the following way.
Code:
#post-content a {
background-color: #bf6f3c;
color: #fff;
padding: 2px 2px 1px 2px;
border-bottom: 1px solid #7f4926;
}
#post-content a:hover {
color: #f5fac7;
}
And when I insert an link image like so: <a href=""><img src="" /></a>
There seems to be an extra border inherited from my #post-content a style. I have attached the screenshot to show the problem.
This was how my link image should look like:
Code:
#post-content a img {
background-color: #bf6f3c;
padding: 5px;
border-bottom: 1px solid #7f4926;
border-right: 1px solid #7f4926;
}
Can anyone guide me as to how I can fix this problem?
My site URL is here