53
fyzrn
7y

When "float: right" goes wrong

Comments
  • 9
    The float is working perfectly. It's been implemented wrong 😇
  • 1
    The float property applies to whichever element or text it encounters first. That's why it's looking reversed. The same would look alright had it been float left
  • 1
    Text-align would have worked better
  • 1
    Use flexboxes!
  • 1
    @GigaMick @nottoobright exactly, one of the most annoying quirks for those who are too lazy to read the specifications. When i first encountered this behavior, i thought it was a bug 😂
  • 1
    Float the ul , not the li's
Add Comment