Time arrow with "current position" evolving with overlay number, Follow Up: struct sockaddr storage initialization by network format-string, Theoretically Correct vs Practical Notation. However, once we float the list item, we find the same unwanted behavior on the fieldset it wont expand to encompass the floated list items. Visually, this heading/group label should match the style and weight as the labels for the other input fields and provide the same function for screen-readers. Your code already tries to put both the label and the input on the same line, but your input's width: 90% makes it too large, so it goes on another line. Most will be type fields with a label which describes what info is to be entered, eg: first name. The fact is that the quality of implicit label accessibility is disputed by different accessibility experts. The following tips go beyond the basics to explain how to make sure a label and input are as happy as can be. form input, form select {max-width: 70 %; display: inline-block;} form label {width: 25 %;} Posting to the forum is only allowed for members with active accounts. Since you are nesting the inputs in labels, you could also just give the labels a display type of block. Lets get into what those are and how to prevent them. Of all the answers above, using display:inline-table as you suggested worked for me, without having to wrap my label and input box in a div. In our example below, we use three
elements and place