Wiki.Novemberborn, sIFR 3 Documentation & FAQ

VerticalRhythm

If you feel concerned about honoring the vertical rhythm of your page when using sIFR for your headings, you need to fine tune the leading (see Styling), offsetTop and tuneHeight (see JavaScript Methods) values to get the sIFR text's height take a multiple of the line-height value you chose up-front.

Once done, you will notice that padding remains below the Flash movie object: this padding is here to leave room to the descenders. However the descenders are already inside the Flash object and the padding breaks the rhythm of the page.

You can effectively remove it by applying this CSS rule:

.sIFR-active object {
  display: block;
}

Updated on May 29, 2008 08:50 by Grégory Pakosz (87.90.32.28)

| See revision | Back in time (3 older revisions)


Navigation

sIFR 3 Documentation & FAQ

sIFR lets you use your favorite font on your websites by cleverly working with Flash, JavaScript and CSS. Here you'll find it's documentation and the FAQ. Leave a link to your implementation in the Examples!

Please donate

If you like sIFR, please consider making a donation so Mark can spend more time on it. Thank you.

Inside this wiki

Other destinations

Licensing

This wiki is licensed under the GNU Free Documentation License.

Miscellaneous

TextDrive

RubyOnRails