Hi
I want to get rid of the outline around the image in my website.
Please let me know how to do this? I have many images & the outline looks bad.
Thanks in advance.
Printable View
Hi
I want to get rid of the outline around the image in my website.
Please let me know how to do this? I have many images & the outline looks bad.
Thanks in advance.
If you have a CSS file then you can use the star hack to avoid the outlines.
code for this is
This will solve your problem.Code:*
{
outline: none
}
Hi please add following to your stylesheet to get rid of the outline problem around your images on html page.
Code:a {
outline: 0;
}
Hey thanks for the prompt reply
But that star hack doesn't work for me.
Any other ideas?
Hello mate.
Try this:
If that doesn’t work, try:Code:a {
outline: none;
}
Code:a:focus {
outline: none;
}