Home How to remove spacing in HTML
Reply: 0

How to remove spacing in HTML

user1034
1#
user1034 Published in April 20, 2018, 6:25 pm

I would like to get these two lines to stay together. https://prnt.sc/j6c1ks

Desired result: https://prnt.sc/j6c5qb

The problem is that when I manage to get my desired result the first radio button stops working. How would I stop it from breaking?

.form-label {
  display: flex;
  margin-top: 15px;
}

.label-option {
  padding: 20px;
}
<label class="form-label">
  <input type="radio" name="authorisation" value="i-do-not"> Speedy fried chicken
  <br>
</label>
<label class="label-option"> Would you like it spicy?
  <input type="radio" name="option" value="yes"> Yes
  <input type="radio" name="option" value="no"> No
</label>

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.310272 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO