Got into new trouble!

Discussion in 'Programming' started by khan11, Oct 10, 2007.

  1. #1
    Hello guys!

    hope everyone's fine.

    Well i was editing my homepage to remove those things which are against validator, i was doing good but now when i see my site in I.E

    I get error, on Line 2 : char:1

    I know their is no problem inside the Doctype tag.. i think something wrong is placed or some syntax is left which i couldn't find..

    Any help....

    Edit: the link is http://fonebuzz.net
     
    khan11, Oct 10, 2007 IP
  2. ajaychadha

    ajaychadha Banned

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello Khan,

    Your homepage is still not properly validated. Please use the HTMLTidy extension for Mozilla Firefox to cleanup your homepage and make it valid XHTML.

    Regards,

    Ajay Chadha :)
     
    ajaychadha, Oct 11, 2007 IP
  3. khan11

    khan11 Active Member

    Messages:
    615
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #3
    yes i know but still, i want to solve that error first, coz it looks weird when we open page in I.E
     
    khan11, Oct 11, 2007 IP
  4. khan11

    khan11 Active Member

    Messages:
    615
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Well, I'm lucky that i had saved a backup of whole site before doing all these editions.. I've re-uploaded the 263error page lol..

    I think validation is very difficult work than web designing lol..

    I tried a lot to solve errors but i only could solve upto 60 errors and else 200 can't :(

    actually i have linked too many pages like : ?show=0&to=1

    it also gave error for validation, i don't know why

    EDIT: Still same error :S

    what the hell is this error?? i don't get why is it keep coming, before i had uploaded my site successfully, now its giving Line 2 char 1 error of syntax.

    EDIT2: And at last, succeeded, all i was getting error because of some javascript code which i added at bottom of my page, i removed that and the problem is solved. :)
     
    khan11, Oct 11, 2007 IP
  5. scriptman

    scriptman Peon

    Messages:
    175
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Congrats on solving the problem yourself. It's great to see someone who cares about HTML validation, but I see your homepage isn't yet validated completely. I figured I would just post a summary of the current problems. There are only two, but one causes several errors:

    Problem 1: You have a broken table design. Refer to line 328, you have an extra table division and row opening tag. I am not sure about how you have designed the site but you either need to remove these, or correct the table nesting.

    Problem 2: You have a checkbox set to checked. That is fine, however to conform to your doctype, replace CHECKED with checked="checked" (Line 485).

    Validation can be a pain sometimes but it is always worth the effort, if only to show that you respect the language you are programming in. Sure most HTML interpreters will tolerate errors, but a professional will ensure their code is correct in the first place.
     
    scriptman, Oct 11, 2007 IP
  6. khan11

    khan11 Active Member

    Messages:
    615
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #6
    hi scriptman!

    thank u so much for pointing out errors.

    actually yesterday as per ajaychadha's request(thanks to him) i installed html tidy for my firefox and that was the mission's first step!!

    I surfed almost 5 hours yesterday and 3 hours now to clear all the errors.

    Now html tidy shows my site totally validated except for google ads which i cannot validate by myself.


    thank u guys!!

    check my site now and if u still find some errors, do tell me. :)
     
    khan11, Oct 12, 2007 IP
  7. khan11

    khan11 Active Member

    Messages:
    615
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #7
    khan11, Oct 16, 2007 IP