I have floats that are not behaving, and I have no idea why. This is what the Chrome dev tool says.
As you can see, the only float set is float: right;
, so it's not a specificity issue.
I've tried setting width
, changing display
, explicitly setting position: static/relative:
, and a few other things I can't recall.
I am at a loss on how to fix it.
The issue is that the parent was display:flex;
. You can't float in a flex-box. Hope this helps someone in the future.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With