Skip to content

Posts Tagged ‘Adobe Flash’

Two colors in sIFR and useful sIFR3 hints

Wednesday, May 6th, 2009

These days most frontend CSS-developers face with a problem of using custom fonts when coding web pages. The technology of sIFR (Scalable Inman Flash Replacement) became very popular because it gives rather flexible and easy to use solution of this problem. If you are new to this technology please check sIFR Documentation for more information.

Though sIFR gives many useful additional abilities for the developers there is one thing which is not trivial to do with sIFR. Imagine that you need to highlight some parts of the sIFR text with different color(s). The solution which cames in mind is splitting the text into several tags and applying sIFR to every tag individually. Unfortunately this doesn’t work in many cases because of impossibility to make the width of sIFR element flexible, so more elegant solution needs to be found.

If you ever tried to find ready-made solution you’ll definitely find the … read more