troubleshooting Question

Why is there a blank line inbetween each option in an HTML select list.

Avatar of Richard Korts
Richard KortsFlag for United States of America asked on
1 Comment1 Solution2 ViewsLast Modified:
I have this HTML as a minor part of a larger form:

<div class="row" style="padding-top:10px;">

   <div class="col-sm-7 col-xs-7 text-right">Pump's riser size (N.P.T):</div>

   <div class="col-sm-4 col-xs-4"><select name="pmprissiz">

      <option value="1.5">1.5<option>

      <option value="2">2<option>

      <option value="2.5">2.5<option>

      <option value="3">3<option>

      <option value="4">4<option>

      <option value="5">5<option>

      <option value="6">6<option>

      <option value="8">8<option>

   </select>&nbsp;<span style="font-size:14px;">(in)</span></div> 


Why is there a blank space between each option in the list. See attached screen shot.

Thank you
Richard Korts
Business Owner / Chief Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros