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

c# - Move local mssql database to webhosted MYSQL -

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

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -