1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Validation errors at validator.w3.org

Discussion in 'HTML & Website Design' started by Mendes, Dec 21, 2007.

  1. #1
    Hello;

    Seems my site has 2 errors, but i couldnt fix it.

    Errors;
    [B]Validation Output:                                    2 Errors         [/B]
    
           [LIST=1]
    [*]           [IMG]http://validator.w3.org/images/info_icons/error.png[/IMG]         [I]Line 111, Column 13[/I]:         ID "dgShowBlog__ctl2_lblHTML" already defined.<p><span id="[B]d[/B]gShowBlog__ctl2_lblHTML" class="yazi"><br />           [URL="http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.tumer-metin.com%2F;errmsg_id=141#errormsg"]✉[/URL]     
                      An "id" is a unique identifier. Each time this attribute is used in a document       it must have a different value. If you are using this attribute as a hook for       style sheets it may be more appropriate to use classes (which group elements)       than id (which are used to identify exactly one element).     
       
    [*]           [IMG]http://validator.w3.org/images/info_icons/info.png[/IMG]         [I]Line 110, Column 13[/I]:         ID "dgShowBlog__ctl2_lblHTML" first defined here.<p><span id="[B]d[/B]gShowBlog__ctl2_lblHTML" class="yazi">&#8220;Ä°brahim (as), &#8220;
    [*]           [IMG]http://validator.w3.org/images/info_icons/error.png[/IMG]         [I]Line 113, Column 13[/I]:         ID "dgShowBlog__ctl2_lblHTML" already defined.<p><span id="[B]d[/B]gShowBlog__ctl2_lblHTML" class="yazi">Hani hep derler ya bugün bay           [URL="http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.tumer-metin.com%2F;errmsg_id=141#errormsg"]✉[/URL]     
                      An "id" is a unique identifier. Each time this attribute is used in a document       it must have a different value. If you are using this attribute as a hook for       style sheets it may be more appropriate to use classes (which group elements)       than id (which are used to identify exactly one element).     
       
    [*]           [IMG]http://validator.w3.org/images/info_icons/info.png[/IMG]         [I]Line 110, Column 13[/I]:         ID "dgShowBlog__ctl2_lblHTML" first defined here.<p><span id="[B]d[/B]gShowBlog__ctl2_lblHTML" class="yazi">&#8220;Ä°brahim (as), &#8220;[/LIST]
    Code (markup):
    How could i fix it?
     
    Mendes, Dec 21, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    I checked your site and pass validation.
    Have you fixed it yet ?
    BTW the problem was because using same id attribute on two <span> elements.
    That could be a problem using DOM functions like getElementById().
     
    ajsa52, Dec 21, 2007 IP
    Mendes likes this.
  3. Mendes

    Mendes Well-Known Member

    Messages:
    1,053
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Thanks, i ve fixed it :).
     
    Mendes, Dec 21, 2007 IP