-1:000000000000 | 0:d3d09ba52849 |
---|---|
1 <!DOCTYPE HTML> | |
2 <style> | |
3 div { font-size: 34px; line-height: 1.0; width: 450px } | |
4 input { font-size: 12px; width: 200px } | |
5 </style> | |
6 <!-- | |
7 Because the width of the input element is constrained, font inflation | |
8 should be disabled for the input element, but not the div containing | |
9 it. | |
10 --> | |
11 <div>test<input type="text" value="Hello world"></div> |