[AddThisDotNetv4] IE Syntax error

Jun 17, 2011 at 4:59 AM
Edited Oct 24, 2011 at 7:27 PM

Getting this error in Internet Explorer


Message: Syntax error
Line: 73
Char: 45
Code: 0



Which is this line of code:

<div class="AdnTopRight" style="float:right">   Line 73



Here code around it:




 <span class="author">by <a href="/blog/author/Kel.aspx">Kel</a></span>
  <span class="pubDate">14. June 2011 07:21</span>
  <div class="text"><div id="AdnTop">
  <div class="AdnTopLeft" style="float:left"></div>
  <div class="AdnTopRight" style="float:right">     <---- Line 73
  <div style="float:right; padding-left:10px" class="BuzzButton">
  <div><a href="http://www.google.com/buzz/post" class="google-buzz-button" data-url="http://www.clickitticket.com/blog/post/Enrique-Iglesias-Teams-with-Pitbull-Prince-Royce-for-Fall-Euphoria-Tour.aspx" title="Google Buzz" data-button-style="small-count"></a><script src="http://www.google.com/buzz/api/button.js" type="text/javascript"></script></div></div>




Any help would be great been looking at this for hours can't figure it out .

Java Blog

Jun 17, 2011 at 5:02 AM

On another site


this code gives no error:


  <div class="text"><div id="AdnTop">
  <div class="AdnTopLeft" style="float:left">
  <div style="float:left; padding-right:10px" class="AddThisButton">
  <div style="float:left">






div class="text"><div id="AdnTop">
  <div class="AdnTopLeft" style="float:left">
  <div style="float:left; padding-right:10px" class="AddThisButton">
  <div style="float:left">
  <div class="addthis_toolbox addthis_default_style" addthis:title="PageLinkMenu"

addthis:url="http://www.kbdavis07.bloggersonline.com/post/PageLinkMenu.aspx" addthis:description="">

<a class="addthis_button_compact"></a><a class="addthis_button_twitter"></a><a class="addthis_button_email"></a>

<a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_print">

</a></div><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4cb7e4d77c1aa8bd">


<div class="AdnTopRight" style="float:right">

<div style="float:right; padding-left:10px" class="DiggButton">


<script type="text/javascript">



Added the addthis on the other site still same error but the lines did not change either.

Jun 17, 2011 at 10:58 AM

Your syntax error is possibly at some line other than what you are seeing in error message. Install FireBug in FireFox, if you don't alrady have it and then open the site with FireBug active. It will tell you where the syntax error is located.

Give it a try... It has helped with thse kind of errors in the past.

Jun 17, 2011 at 12:49 PM

Is it Internet explorer 6?

Jun 21, 2011 at 12:36 AM

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SearchToolbar 1.1; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; BRI/2)
Timestamp: Mon, 20 Jun 2011 23:04:56 UTC

Message: Syntax error
Line: 104
Char: 45
Code: 0
URI: http://www.dev.bloggersonline.com/post/2011/06/20/Test-BookMark.aspx

Jun 21, 2011 at 8:14 PM