calc replaces txtadd ... almost

  • leading zeros on variables are being stripped, and can not be used for textfield css... *confused*

    Is there an escape method? calc is so nice, I'd like to use it exclusively over remembering a dozen other functions.

    Code
    css="calc: 'font-weight:bold;font-family:Arial;font-style:italic;font-size:18px;text-align:left;color:#'+scene[get(xml.scene)].text_color+';'"

    I'm not sure how to bypass this impasse correctly without preg_replacing all my leading zeros with 11's which looks pretty good! but requires php or foreknowledge of this stripping situation.

    **EDIT** I decided it was DUMB trying to do all these calc shenanigans just to prevent the creation of one more variable for background colors and textfield css.

Participate now!

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