I want to display four buttons, inline, without any spacing between them. I have a jsfiddle that shows the current behavior. In short, the following HTML/CSS:
<div>
<input id="unconfirmedYes" type="button" value="10%" />
<input id="confirmedYes" type="button" value="98% YES" />
<input id="confirmedNo" type="button" value="2% NO" />
<input id="unconfirmedNo" type="button" value="90%" />
</div>
div input[type=button] {
display: inline;
margin: 0;
padding: 0;
}
#unconfirmedYes, #unconfirmedNo {
width: 10%;
}
#confirmedYes, #confirmedNo {
width: 40%;
}
will in fact line the buttons up, but there is still spacing between them. How do I get rid of that spacing so they stack up right against each other?