This code genereates a sequence of: block,text,block,text,block,text and it looks about right except that I can’t get the text to vertically align in the center of the div so it looks like its aligned next to the center of the boxes vertically. Any advice?
<div style="position: absolute; right: 0; top: 0; text-align: right;">
<span style="display: inline-block; width: 15px; height: 15px; background: #2880BB"></span>
<span style="display: inline-block">Created </span>
<span style="display: inline-block; width: 15px; height: 15px; background: #7FC31B"></span>
<span style="margin-left: 5px;">Won </span>
<span style="display: inline-block; width: 15px; height: 15px; background: #FD2A2F"></span>
<span style="margin-left: 5px;">Lost </span>
</div>
Alternate solution:
jsFiddle: http://jsfiddle.net/w2wVc/1/