Syntax error message

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Michael74
    New Member
    • May 2007
    • 2

    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)

    Thanks
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    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.

    Comment

    • Michael74
      New Member
      • May 2007
      • 2

      #3
      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?

      Cheers
      Michael

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        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.

        Comment

        Working...