html - Input and button inline -


Is there a multi-browser approach to inline input and buttons? See . Appears below the input button. Ordinary margins do not help:

  & lt; Div & gt; & Lt; Input type = "text" style = "margin-top: -50px;" / & Gt; & Lt; Button style = "height: 25px; width: 20px" /> & Lt; / Div & gt;   

I found this error when using the jQueryUI calendar: the calendar button has been automatically inserted after the calendar tag. So I do not want to change markup with more divs.

:

  input, Button {vertical-align: center; }   

vertical-align / P> cell box.

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -