Text won't center in Firefox

  • The code below is for a textbox that is supposed to align the text "center." This works correctly in Chrome and IE, but text allows aligns "left" in Firefox. Any advice would be appreciated. Thanks in advance - Reggie
    [code<scene name="scene_AIMG_1286" title="Visitor Center Entrance" onstart="" thumburl="panos/AIMG_1286.tiles/thumb.jpg" lat="" lng="" heading="">
    <plugin name="textfield"
    url="plugins/textfield.swf"
    keep="true"
    align="center"
    html="Use campground buttons [br]or globe / foursquare icons[br] at lower left below thumbnail panel[br] to skip to specific areas of the lake.[br] Then, click and drag within the scene to navigate.[br] Click USACE logo at upper left to return to opening scene [br] Click these instructions to remove"
    css="font-family Ariel; text-align:center; font-size:16px; color:#0xBBBBBB;"
    autoheight="auto"
    vcenter="true"
    padding="9"
    wordwrap="true"
    selectable="true"
    onclick="removeplugin (textfield)"
    embeddedfonts="false"
    background="true"
    backgroundcolor="0xB1B1B1"
    backgroundalpha=".8"
    border="true"
    bordercolor="0xFFFFFF"
    borderalpha="1.0"
    borderwidth="5.0"
    roundedge="40"
    shadow="0"
    shadowrange="4.0"
    shadowangle="45"
    shadowcolor="0x000000"
    shadowalpha="1.0"
    textshadow="0"
    textshadowrange="4.0"
    textshadowangle="45"
    textshadowcolor="0xFFFFFF"
    textshadowalpha="1.0"
    onautosized=""
    />"][/code]

  • Hi,

    for me your code works fine in all HTML5 browsers (incl. Firefox).

    Only when using the Flashplayer the text is not centered....

    and there this seems to be a Flashplayer bug - when removing 'font-family Ariel;' from the css, then the centering is working...

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!