Annoying little syntax error

This is a discussion on "Annoying little syntax error" within the Web Page Design section. This forum, and the thread "Annoying little syntax error are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 9th, 2006, 13:27
New Member
Join Date: Jul 2006
Location: UK
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Annoying little syntax error

Hi,

I have been working on a site for ages now, and 1 week before it goes live I all of a sudden am getting syntax error in the bottom left of the browser window.

When opening the error dialogue box up it is saying is it on line 2 but I cant see anything. I recently changed the page from stict to transittional, but I have checked that code and it looks fine.

The site uses templates so I am assuming it is on the template as every page in the site has the same error.

This is the web address - if you could have a quick look and tell me if anything springs to mind that would be great.

http://www.macmillan-academy.org.uk/macweb/index.php



Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 9th, 2006, 13:33
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Annoying little syntax error

As far as I can tell its:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

And it should be:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 9th, 2006, 13:41
New Member
Join Date: Jul 2006
Location: UK
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Annoying little syntax error

Hi,

Thanks for the response but my page doesnt current say
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" http://www.w3.org/TR/html4/loose.dtd

It says....

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I tried changing it to your version but still no luck.

Any other suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 9th, 2006, 13:45
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Annoying little syntax error

Hmm it did before, FF popped up an error with the doctype. Interesting. Oh well I see no errors on it now.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 9th, 2006, 13:50
New Member
Join Date: Jul 2006
Location: UK
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Annoying little syntax error

Hi,

Thanks I have found the error - it was the make poverty history band on the site. When I commented this out the error was gone.

Thanks

Adrian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
annoying, little, syntax, error

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] error in SQL syntax but where it all looks fine to me Andrew1986 Databases 3 Nov 28th, 2007 01:21
Syntax error with Ajax file reading Paramiliar JavaScript Forum 0 Aug 12th, 2007 16:48
syntax error... ktsirig Databases 2 Feb 4th, 2007 14:48
error in SQL syntax Drgreenfingers Databases 10 Jan 30th, 2006 02:00
syntax error: unexpected T_BOOLEAN_AND... jswebdev PHP Forum 4 Jan 28th, 2006 07:29


All times are GMT. The time now is 11:10.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42