R – underlining text in sifr

replacesifrtext;underline

I've recently been getting into using sifr as a healthy alternative to generating text as image using php. I've got a question about underlining text, for a website design I need to be able to specify the thickness of the underline and the distance from the text, is there any way to accomplish this with sifr? If not, is there a way to be able to solve this with css? I've been trying to get my head around it, but since I haven't found a way to get the exact width of the sifr text, I'm doubting whether it's possible at all.

Any thoughts on this? They're much appreciated.

Kind regards,
Thijs.

Best Answer

I suspect that Flash renders a fake underline, and no, you can't change how it looks. The only option would be to render a border underneath the Flash movie using HTML & CSS, but I don't that'll work very well.

With sIFR 3, if you specify the fitExactly: true option in the replacement, the Flash movie will be the same width as the internal text.