I am trying to figure out a good way to display guitar chords on the web in a variable-width font, preferably using just HTML and CSS if possible. I\'m trying to do this by
Why not simply relying on pseudo element and data attribute:
p { margin-top:50px; } span.chunk { position:relative; } span.chunk:before { content:attr(data-chord); position:absolute; top:-15px; }
As I was going over the far fam'd Kerry Mountains,