This should be really simple but I for whatever reason I can't figure it out. All I want to do is space out my text boxes just a little bit.
HTML part
CSS partCode:<div id="Norm" class="input" style="padding:10px;"> First Name: <input name="fname" type="text" id="fname" /><br> Last Name: <input name="lname" type="text" id="lname" /> </div>
Code:.input{ padding-bottom:20px; }


Reply With Quote

/label> The for attribute of label ties the label to the input it labels - the benefit of this is clicking on the label places focus on the input element. While this isn't especially useful for text inputs, it makes radio and checkbox input much more user friendly, ESPECIALLY on mobile devices.

Bookmarks