replacing html data does not retain css formatting

  • so I have a textfield at the top of my demo tour for labelling the scenes. it starts off centered and ok for the first scene. after running this

    <events onloadcomplete="txtadd(plugin[titletext].html, 'text 1 ');"/>

    the text does change but it looses all it formatting. goes back to 12 pt font and not centered or bolded.

    css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:20; margin-left:5; margin-right:5; text-align:center; }"

    that is the CSS, how to i get new text to stay formatted the correct way?

  • Hi VN2009,

    Quote

    place another check mark in the "W" column for Michel !

    Sure it must be something sympathetic but I do not know what it mean *g* ...
    I pass through many comments or details because I do not understand what they mean *sad* ... It is frustrating *wacko* ...

    SAlut.

Participate now!

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