There is a peculiar issue with some buttons on a web page where a strange line appears on the right side when hovering over the button. This problem only affects the first two out of three buttons, possibly because there is no fourth button to trigger the effect. The anomaly seems to occur across all browsers.
Below are screenshots illustrating the appearance of the mysterious line.
I have created a JSFiddle sample demonstrating the issue.
You can also view the Stack JSFiddle here:
[CSS code snippet]
[HTML code snippet]
The CSS provided may appear repetitive as it was copied directly from Firebug's CSS window. Due to multiple sources defining styles, repetition is inevitable in our codebase. Additionally, the pasted CSS may seem inverted; this could be due to the evaluation order displayed by Firebug for human readability.
Upon investigation, it appears that the line originates from the anchor tags wrapping the buttons. Removing these anchor tags eliminates the unwanted line. Interestingly, even on the JSFiddle, the line persists regardless of hovering, aiding in easier issue detection. I introduced a new element for further testing, yet the problem remains visible.
If you have any insights on resolving the line artifact or identifying its cause, please share your thoughts.
Thank you, J