CSS: filling problem. Need help please

I am having a strange CSS spacing issue in Chrome (but not in Firefox and / or IE).

My site is here.

The vertical spacing in Firefox between “ Property Search ” (H2 tag) and the form input field for “ San Francisco, California ” (# city-field input tag) is ideal, but in Chrome Chrome uses a longer / extra vertical span than we would like.

To help, I added a screenshot. The red line represents the extra spacing that Chrome adds to the fact that Firefox / IE does not.

enter image description here

Any ideas why Chrome uses more spacing than Firefox and IE.

And how to fix this problem.

Thanks in advance

UPDATE

reset, H2 .. HTML- , .

+3
4

, - . h2 13-15 . . W3C, line-height: normal " , " " ." Firefox Chrome "" , .

0

reset.

CSS , H1, H2, UL, LI .. -. . reset , , .

+1

-, Chrome 2px. , Firebug , Firefox. CSS :

#city-field {margin:0}

: , : . , : , , . float display: block, inline.

+1

height #city-field, , 20px.

.

+1

Source: https://habr.com/ru/post/1764548/


All Articles