Questions
Tags
Right flexbox with tag button in ff, how to solve?
there's a pretty big button, flexbox use to align items button
Problem: using the tag
<a></a>
for the button everything works as it should, but if you change the tag to
in firefox, the button elements is a very weird part
in other browsers all is well.
example on codepen
yellow
blue
<a></a>
what is the reason and how to solve? know can be replaced by inline-block, but I would like to know the cause of the bug
CSS
HTML
earnestine
asked
July 9th 19 at 10:51
Related questions
1
Why touchmove not working in Android and how to fix it?
1
What is the best way of centering the most effective?
1
How does the Crop option in the Pathfinder?
1
Why gulp does not automatically refresh js?
2
How to cancel a field mandatory?
1
Why the need for a Django flatpages?
1
File List in Mikrotik?
1
How to restore the DLNA on the TV after replacing the router?
More answers about
"Right flexbox with tag button in ff, how to solve?"
1
answer
willow.Hand
answered on
July 9th 19 at 10:53
Solution
https://bugzilla.mozilla.org/show_bug.cgi?id=984869
Mozila once again smarter than everyone else.
P. S. in the end, they reopened the ticket and maybe fixed this "feature".
As a workaround you can use
<input type="button">
Find more questions by tags
CSS
HTML