Does anyone have any explanation for this? I've tried setting a width on #menu_wrapper ul li
to no avail.
sIFR is limited in width to the width of the element you're replacing. If this element is floated, the width is the actual width of the HTML text. If the Flash font is wider than the HTML font, this means the Flash text won't fit in the allowed width and splits into multiple lines.
Possible solutions:
letter-spacing
for the list items, such that the HTML text is as wide as the Flash textforceSingleLine
parameter for sIFR.replace()
to true
, with as downside that the Flash movies will show horizontal resizing as they are initialized