css - Pixel size for different browsers -



css - Pixel size for different browsers -

is pixel size different different browsers?

for illustration

<input type='button' class='button2' value='...' /> /*****css*****/ .button2{ width:120px; }

overflows button value in chrome doesn't in safari , firefox. doing wrong?

pixels should same. if investigate, may find different browsers have different default values things margins, padding, text size, font face, etc. that's what's tripping (though note popping code own browsers not produce overflow.)

css browser pixel

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -