I'm trying to create an interface that includes both single and double column buttons. You can see the fiddle here: http://jsfiddle.net/SZwQC/
As you can see in the fiddle, the actual width of the elements (with margins) is 130px; however, I had to give +2 additional pixels to be able to cover up the margins between double-column elements.
.single{
width: 130px;
}
.double{
width: 64px;
margin-right: 2px;
}
The result is just like how I want it to be, however, it is +2 pixels wider. Without the additional pixels, I could not find a way to do the 2 column items (by only adding the margin between the two).
I know this probably does not need a guru to solve, but I just could not find a perfect solution.
Any help will be appreciated.
Thanks!