John Higgins John Higgins - 1 year ago 107
HTML Question

CSS to force inline input fields

I have the following code and I am unable to access the HTML to edit.

<div class="LoginDiv">
<input type="text" name="user_login" tabindex="1" placeholder="Email"/>
<div class="LoginDiv">
<input type="password" name="user_password" tabindex="2" placeholder="Password" />
<button type="submit">LOGIN</button>

This displays as per the image.

enter image description here

I am able to access the CSS and I would like to be able to force the input fields so they are inline.

Is this possible?



Answer Source

Here's what you need I guess

.LoginDiv {
  display: inline-block;

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download