1

I met a strange problem. When I set a div as width: 1.1px, It will display as 1.094px.

enter image description here

It can correctly display in firefox.

Does any one know how to fix this?

edit

Addition1: It will display as 1.09px actually.

Addition2: division has the same problem, like 101px's 10% will be 10.09px.

Community
  • 1
  • 1
Yu Ch Chien
  • 21
  • 1
  • 3

1 Answers1

0

try adding a min-width to it maybe that'll work!

MultiDutch
  • 36
  • 8