css - Unexpected resulting box height -


i'm setting:

font-size: 13.44px line-height: 1.4881 

multiplying those, gives 20.000064

but rendered/calculated height of box 19px

why?

http://jsbin.com/vokesukeye/2/edit?html,output

as wrote in comment earlier: pixel values being rounded, first font-size 13px , result 19px, due nature of pixels (which whole pixel or no pixel, except possibly on retina displays)


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -