The Mudcat Café TM
Thread #153685   Message #3600696
Posted By: JohnInKansas
12-Feb-14 - 07:51 AM
Thread Name: Chord Req: Why Requests for chords?
Subject: RE: Chord Req: Why Requests for chords?
A clarification for those less familiar with html:

If you type the lyric/chords you want in your word processor using a monospaced font like Courier, it should be easy enough to line up the chords on one line with the lyrics on the next line.

Unfortunately, if you just copy and paste what you typed, the html interpreter will delete all but one in a series of spaces, so all the chord notations will collapse to the left.

Putting the <pre> tag before the spaced out text and closing the <pre> stuff with </pre> at the end displays it "preformatted," and the interpreter will pick a monospaced font for the display. All the spaces will remain in the post so the alignment between chords and lyrics will (usually) appear as you typed them in your wp program.

A minor difficulty is that "superscripts" typed in the wp program won't show up correctly in the preformatted paste for posting, and the html <sup> - </sup> tag set won't work inside the preformatted parts, so you can't use this method to show a C7 chord and will have to settle for a C7. Same for <sub> - </sub> subscripts so no Am either.

The <pre> - </pre> tags sometimes insert an extra <BR> (new paragraph) before or after the preformatted section so it's a very good idea to "Preview" your post before submitting to see if other "adjustments" are wanted to make it pretty.

John