Notes on the construction of source-files




xxx

xxx|

xxx|

xxx|









IE7 and Firefox give different (quite different) results for the contents of the box at the left because of an image alignment bug in Firefox. The second and fourth lines are the same for both browsers because a nonwhite character has been included in the s-span that contains the image. In the fourth line the character has been rendered invisible.





The basic elements that are used here are: element style directives ------------------------------------------- <body> font-family:comic sans ms <div> (nil) <xmp>,<pre> font-family:fixedsys <p> text-indent:5% <s> position:absolute;text-decoration:none <u> position:relative;text-decoration:none <i> visibility:hidden;font-style:normal;letter-spacing:-3px <img> position:relative

<span> is seldom used here; it simply isn't needed anymore after <s> and <u> have been stolen from the lawyers. All the same, it is convenient to be able to refer to s-spans and u-spans to distinguish between position:absolute and position:relative moves. The <i>jacking is merely a convenient device to implement the workaround for Firefox's alignment bug. The style directive for <img> is there to facilitate shifted images; position:absolute might be preferred, but that introduces a different alignment bug that affects both IE and Firefox.

The style directives that appear above are the ones that seldom change, if ever, and they are included in the stylesheet, sty00.css. Also included there are quite a few identifiers, loosely organized by what they identify. Some of them are



So here comes an example:

alto clef 
l bbb 118öööölöööööö l l l l l l
treble clef 
lbbb118öööölööööööllllll
This works equally well on IE and Firefox, and it can be printed from both. Firefox does the better job of printing it. The source for this now has two approaches to documentation - the second one looks promising. The source for it is here.