I\'m trying to style a text input with a value, text input with a placeholder, and a span, identically in Chrome. Specifically, I would like to control the line-height indep
Line height to 1.2 value (that's 120% of font size) works perfectly in chrome
http://plnkr.co/edit/rJmXLRrGFpi46Vv5THm5?p=preview
div, input, span {
line-height: 1.2;
}
The only change that I make it's change the two line heights of 50 pixels to 1.2. It doesn't breaks the layout and the three elements are aligned fine.
So your original code works fine in firefox.