469,964 Members | 1,496 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

Syntax error message

I'd be very grateful if anyone could advise me....

I built a site (1st attempt) using coffeecup html editor. It was working fine but now I get the error triangle in the bottom corner. It says there's two syntax errors. Those lines look normal to me. Could you please look at the code and tell me where I'm going wrong?
I'm using IE6.

http://www.forex-rewards.com (all pages have the error)

May 12 '07 #1
3 1333
7,435 Expert 4TB
There are more than just two errors. The software you are using is probably old, correct? It is using a lot of deprecated elements, which will work, but they are being eliminated eventually.

A few other points to make:
1) The doctype on the first line is incomplete and throws IE into 'quirks mode'. See the sticky at the top of this board about doctypes. Since you are using deprecated elements, you will still need to use the complete transitional doctype, but all new pages should be using 'strict'.

2) The best validators to use are the ones from the W3C for html and css. See the sticky about validating at the top of this board also.

3) However, most of your errors derive from embedding flash in your page. A lot of people use <embed> but, actually, there is no such thing. Look into the <object> element and how to use it for flash.

4) Never, ever use IE to design your web site. All versions of IE are nine years behind web standards and buggy. Always, always use a modern browser like Firefox or Opera. Then your markup will probably work in all browsers, including IE, but, if necessary, we can work around IEs bugs and quirks.
May 12 '07 #2
Thanks for all the advice. I thought I was using ok software (CoffeeCup 2006) but apparently not.

Can you tell me of any good site builder software where I can build pages visually (drag and drop style) and that also let me use flash correctly? And don't cost a bomb?

May 13 '07 #3
7,435 Expert 4TB
I am not aware of any. Dreamweaver is expensive but the people I know who use it don't use "design view" due to the bad code it generates. I don't recall if Microsoft's Expressions does drag/drop. Definitely look at HTML-Kit, too.

Any of these auto code generators will need code fix up by hand but some are better than others and more up to date, but I wouldn't use any of them.
May 13 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Steve | last post: by
8 posts views Thread by Clifford W. Racz | last post: by
3 posts views Thread by Manuel | last post: by
12 posts views Thread by Brad Baker | last post: by
8 posts views Thread by Smithers | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.