How do I prevent a line break occurring before an unordered list?
问题 My web-app framework renders form errors for each field in an unordered list <UL> immediately following the invalid field. My problem is that I haven't been able to style things so that the error(s) are listed on the same line with the form field. A line break is instead rendered before the <UL> . This is the html that I'm trying to style, showing a server-determined invalid field: <p> <label for="id_email">Email</label> <input id="id_email" type="text" name="email" /> <span class='field