Reputation: 521
Hi please see the demo below. I cannot work out how to get rid of the space between the first form?! any help would be appreciated :)
Upvotes: 0
Views: 118
Reputation: 77966
Simple fix with CSS:
#friendlist input {
float:left;
}
#friendlist {
overflow:auto;
}
Working demo: http://jsfiddle.net/AlienWebguy/WYS2g/16/
Now you don't have to worry about ruining the formatting of your HTML syntax in your editor to accommodate for a browser quirk.
Upvotes: 1
Reputation: 228182
The absolute simplest fix is to remove the whitespace in the HTML.
See: http://jsfiddle.net/WYS2g/10/
<input type="text" name="friend_name[]" class="friendid">
<input type="text" name="friend_email[]" class="friendid"/>
to:
<input type="text" name="friend_name[]" class="friendid"><input type="text" name="friend_email[]" class="friendid"/>
Upvotes: 5