1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!DOCTYPE HTML> <html> <head> <title>Pixel rounding testcase</title> <style type="text/css"> html, body { margin: 0; border: none; padding: 0; } div { position: absolute; top: 10px; left: 10px; height: 10px; width: 10px; } div { background: green; } </style> </head> <body> <div style="height:10.4px"></div> </body> </html>