Mark Mintoff My superpower is common sense

12Jan/126

Remove Internet Explorer Black Border Around Button

Internet Explorer has an annoying quirk which produces a black border around buttons: Forced black border on button...This could potentially be problematic because it can interfere with the general look and feel, as well as colour-scheme of the website.

This works, however it results in removing the border entirely; which might not be the desired effect. You might be styling your button with a border of your own and this would negate the effect entirely.

This does not work at all, since Internet Explorer is adding it's own border(not outline) instead of yours. The solution is rather simple:

What this does is make the colour black invisible, visually negating the black border which Internet Explorer creates. However, this would make anything black within the button invisible: Black border gone, but so is a lot of the text!!This can be easily solved rather handily by changing the black text, to the closest thing to black.

Resulting in the following: Problem Solved! Looks quite good, no?

VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)