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

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -