Help with correcting validation error

Discussion in 'HTML & Website Design' started by Aajay, Dec 8, 2008.

  1. #1
    Hello,

    I have a blog running at http://blog.techiezone.in

    This blog appears fine in some browser and in some it breaks...>So I tried validating it. This has some errors and I have no clue to correct the error.

    For example the home page appears fine in almost all browser it is the issue with single post page. So I tried validating single page and found error.

    You can try validating a single post :

    http://blog.techiezone.in/2008/02/show-current-music-track-in-google-talk-in-vista/

    You can validate it at :

    http://validator.w3.org

    Please help me. If someone can help me validate this so that the blog will appears fine, I am ready to give him some reward either in terms of money or in terms of a link on my blog for a couple of months.
     
    Aajay, Dec 8, 2008 IP
  2. dejangex

    dejangex Peon

    Messages:
    113
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I dont think that you are having problems with the site not being xhtml valid, but with the sole structure of the site. Correcting these errors wont yield results, I think, but you can try.


    • First 4 error are: "ID 'postdetails' already defined".
      The ID should be unique for all elements. You probably tried to apply css through ID's and that should work only on unique elements such as header, body... You should use classes on posts because there can be more than 1 post on the page.

    • Second error: "character '&' is the first character of a delimiter but occurred as data.
      In you html code find this: "<h3 id="left">Internet News & Tips</h3>" and replace the & character with "&amp;". That will correct the error.

    Other errors are with the non unique ids.
     
    dejangex, Dec 8, 2008 IP
  3. Aajay

    Aajay Peon

    Messages:
    196
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks a lot man...

    What might be the reason that the site is not appearing uniformly in all browser...
    Some one please guide me ..It has drven me nuts..
     
    Aajay, Dec 8, 2008 IP
  4. dejangex

    dejangex Peon

    Messages:
    113
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry, but thats just too much code to grind. My advice is to have at least 3 browsers installed when developing for the web and this includes IE6, not 7 or 8. Then what you do is create site structure with divs and then add one css rule at a time and test it in all those browsers. When things go crazy, you will know what is causing the strange behaviour. Perhaps it would be better if you start from the start again, instead of tracking errors now. You could save time.
     
    dejangex, Dec 9, 2008 IP
  5. Aajay

    Aajay Peon

    Messages:
    196
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for the advice but that a useless piece of advice you have given. if you find it difficult to just find out what is causing the error there is no way u suggest me to start over again...This si too easy to say then do...
     
    Aajay, Dec 9, 2008 IP
  6. dejangex

    dejangex Peon

    Messages:
    113
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ah, sorry for that. It looks like your content div is pushing the sidebar down because its too wide. In IE, the ads are also pushed down by the content. The width of all 3 columns should not sum to 100% but to 90 or less. Hope this helps.
     
    dejangex, Dec 9, 2008 IP
  7. Aajay

    Aajay Peon

    Messages:
    196
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks again dude...But I will not blame you......It seems u r a noob. Having some experience in designing definitely know that. However I have finally managed to correct it....That was happening due to an extra dv placed inadvertently.
     
    Aajay, Dec 9, 2008 IP
  8. dejangex

    dejangex Peon

    Messages:
    113
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hehe, no I'm not a noob :rolleyes: Its just hard to read other people code, especially when u dont get nothing in return.
     
    dejangex, Dec 9, 2008 IP