javascript in wordpress html editor not working.

Discussion in 'HTML & Website Design' started by mg3hockey, Jan 31, 2010.

  1. #1
    mg3hockey, Jan 31, 2010 IP
  2. jwitt98

    jwitt98 Peon

    Messages:
    145
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your background image positions are off. Something on your site is affecting the layout enough to throw the background images off. Maybe font-size, margins, padding, etc.

    If you look at the js here:
    http://static.mybanktracker.com/embed/best_bank_rates.js
    You can see how the background positions are set. You can either change your layout on your site to conform to how the backgrounds should be positioned, or you can copy this js and load it from your own server instead of the remote server. This way you can edit the js and presumably fix the background positioning problems.

    You might want to start by fixing the errors in your markup. Sometimes this can solve many of your layout issues.
    http://validator.w3.org/check?uri=http%3A%2F%2Frates.cd%2F51%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
     
    Last edited: Jan 31, 2010
    jwitt98, Jan 31, 2010 IP