I need your browser to ignore my <Br> tags

Discussion in 'HTML & Website Design' started by AndrewJ, May 8, 2006.

  1. #1
    Hi guys,

    I'm using a site builder which is automatically adding <br> tags to each line of my Google Adsense code:

    <script type="text/javascript"><!--<br>
    google_ad_client = "pub-28857111431#####";<br>
    google_ad_width = 468;<br>
    google_ad_height = 60;<br>
    google_ad_format = "468x60_as";<br>
    google_ad_type = "text";<br>
    google_ad_channel ="9219514###";<br>
    google_color_border = "FFFFFF";<br>
    google_color_bg = "FFFFFF";<br>
    google_color_link = "0000FF";<br>
    google_color_url = "008000";<br>
    google_color_text = "000000";<br>
    //--></script><br>
    <script type="text/javascript"<br>
      src="<a href="http://pagead2.googlesyndication.com/pagead/show_ads.js">pagead2.googlesyndication.com/pagead/show_ads.js</a>"><br>
    </script>
    
    Code (markup):
    Of course the ads don't work so is there some code I can use to prevent this or can I somehow tell a browser to ignore these tags for the Adsense code?

    Make them go away!!!!

    Thanks for any advice.

    Andrew
     
    AndrewJ, May 8, 2006 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,807
    Likes Received:
    4,534
    Best Answers:
    123
    Trophy Points:
    665
    #2
    are you able to have the google code in a separate file and call it?

    otherwise it might be a cue to join the real world and get proper hosting.
     
    sarahk, May 8, 2006 IP
  3. AndrewJ

    AndrewJ Peon

    Messages:
    353
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm not using that type of sitebuiler.

    I thought there may be some way to enlcose the javascript with something so it doesn't happen.

    Andrew
     
    AndrewJ, May 8, 2006 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,807
    Likes Received:
    4,534
    Best Answers:
    123
    Trophy Points:
    665
    #4
    Whatever type you're using - you need to make a change.
     
    sarahk, May 8, 2006 IP
  5. penagate

    penagate Guest

    Messages:
    277
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Be a man, write the code yourself. Notepad! :)
     
    penagate, May 9, 2006 IP
  6. doronty37

    doronty37 Active Member

    Messages:
    130
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #6
    agree with you. dreamweaver, frontgae etc is "What You See Is What You Get" editors.
    Notepad is "What You See Is What You Do" :)
     
    doronty37, May 9, 2006 IP
  7. AndrewJ

    AndrewJ Peon

    Messages:
    353
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I've created a fix.

    Thanks anyway.

    Andrew
     
    AndrewJ, May 9, 2006 IP