I am designing a table-like cluster of divs. There are only two rows.
The "table" is built up like the following:
<div class="artist_meta_first_row">
<div>some text</div>
<div>some text</div>
<div>some text</div>
<div>some text</div>
<div>some text</div>
</div>
<div class="artist_meta_second_row">
<div>some text</div>
<div>some text</div>
<div>some text</div>
<div>some text</div>
<div>some text</div>
</div>
Fairly simple, right? Well here are the styles:
.artist_meta_first_row{
text-transform: uppercase;
padding-bottom: 40px;
font-family: futura-pt, sans-serif;
font-weight: 100;
letter-spacing: 3px;
}
.artist_meta_first_row div{
display: inline-block;
min-width: 190px;
}
.artist_meta_second_row div{
display: inline-block;
min-width: 190px;
vertical-align: top;
}
The problem I have is that the text in the divs in the first row starts a little bit more on the right than the text in the second row divs. It almost looks like there is some padding-left in the first row, but there isn't in the css code. So after a lot of trial and error I found out that it is due to the letter-spacing: 3px;
in the first row - it seems to make the divs in the first row a little wider, causing the cells in the first and second row not to be aligned well, even though I specified the width.
Is there any way I can properly align the two rows without having to get rid of the letter spacing?