Help me validate my website!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Miladin Miladinoski

    Help me validate my website!

    Hello,

    I really need help in validating my WordPress website/blog so it conforms
    to the Web standards as defined by W3C.org.

    My site is http://miladinoski.trap17.com and it fails with 10 errors on
    the validation test :
    [

    ]

    Thanks!

    Miladin
  • Lars Eighner

    #2
    Re: Help me validate my website!

    In our last episode, <op.uhqu5io8qqf b7m@whiteeagle-laptop>, the lovely and
    talented Miladin Miladinoski broadcast on
    comp.infosystem s.www.authoring.html:
    Hello,
    I really need help in validating my WordPress website/blog so it conforms
    to the Web standards as defined by W3C.org.
    I do not understand the problem. The validator messages are clear and
    concise. Some of these lines, however, can be the result of previous errors,
    so start by closing the link element, and validate again.


    --
    Lars Eighner <http://larseighner.com/usenet@larseigh ner.com
    Good Morning, Carnivore! - Anthrax botulin nuclear flight mail Akbar reservoir
    Ramadan letter activate bridge Abdul safehouse virgins money detonators Allah
    smallpox Glaspie Springfield agent airport dispersal facility counterfeit

    Comment

    • Ed Mullen

      #3
      Re: Help me validate my website!

      Lars Eighner wrote:
      In our last episode, <op.uhqu5io8qqf b7m@whiteeagle-laptop>, the lovely and
      talented Miladin Miladinoski broadcast on
      comp.infosystem s.www.authoring.html:
      >
      >Hello,
      >
      >I really need help in validating my WordPress website/blog so it conforms
      >to the Web standards as defined by W3C.org.
      >
      >My site is http://miladinoski.trap17.com and it fails with 10 errors on
      >the validation test :
      >[
      >http://validator.w3.org/check?uri=ht...Inline&group=0
      >]
      >
      I do not understand the problem. The validator messages are clear and
      concise. Some of these lines, however, can be the result of previous errors,
      so start by closing the link element, and validate again.
      >
      >
      Perhaps the OP's problem is that he wants to fix errors created by Word
      Press using Word Press. He needs to open the HTML file in a text editor
      and manually fix the errors.

      --
      Ed Mullen
      Help for Mozilla, Firefox and SeaMonkey. Performances and original music.

      Beauty is in the eye of the beer holder.

      Comment

      • Roy A.

        #4
        Re: Help me validate my website!

        On 19 Sep, 21:59, "Miladin Miladinoski" <i.am.afr...@fr om.spamwrote:
        Hello,
        >
        I really need help in validating my WordPress website/blog so it conforms 
        to the Web standards as defined by W3C.org.
        >
        My site ishttp://miladinoski.tra p17.comand it fails with 10 errors on  
        the validation test :
        [  http://validator.w3.org/check?uri=ht...rap17.com... 
        ]
        The first error ("Line 295, Column 289: end tag for "link" omitted,
        but OMITTAG NO was specified .") is pointing to this line:

        <link media="screen" type="text/css" href="http://
        miladinoski.tra p17.com/wp-content/plugins/reply-w-comment-preview/css/
        at-reply.css" rel="stylesheet ">

        The tag should be closed with ' />'.

        This error is generated by the 'reply-w-comment-preview' plug-in on
        line 35.

        Comment

        • Miladin Miladinoski

          #5
          Re: Help me validate my website!

          On Sat, 20 Sep 2008 05:44:18 +0200, Roy A. <royarneskar@gm ail.comwrote:
          The first error ("Line 295, Column 289: end tag for "link" omitted,
          but OMITTAG NO was specified .") is pointing to this line:
          >
          <link media="screen" type="text/css" href="http://
          miladinoski.tra p17.com/wp-content/plugins/reply-w-comment-preview/css/
          at-reply.css" rel="stylesheet ">
          >
          The tag should be closed with ' />'.
          >
          This error is generated by the 'reply-w-comment-preview' plug-in on
          line 35.
          OK, thanks very much, after fixing that error (which i didn't knew which
          fault is it sorry for my newbieness) 3 errors have dissapeared, but now I
          need help with the last 4 ones. To me it seems that they are fine, but I'm
          obviously not an expert and need help in what do I need to edit so they
          dissapear.

          Thanks!

          Miladin

          --
          Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

          Comment

          • andrew

            #6
            Re: Help me validate my website!

            On 2008-09-20, Miladin Miladinoski <i.am.afraid@fr om.spamwrote:
            OK, thanks very much, after fixing that error (which i didn't knew which
            fault is it sorry for my newbieness) 3 errors have dissapeared, but now I
            need help with the last 4 ones. To me it seems that they are fine, but I'm
            obviously not an expert and need help in what do I need to edit so
            they dissapear.
            You might be better off creating your web page 'by hand' rather than
            having software generate it for you. Some of the html looks a little
            chaotic :-).

            Next error:

            #v+
            Line 376, Column 24: document type does not allow element "style" here.

            <style type='text/css'>
            #v-

            refers to:

            #v+
            <style type='text/css'>
            .gallery {
            margin: auto;
            }
            .gallery-item {
            float: left;
            margin-top: 10px;
            text-align: center;
            width: 33%;}
            .gallery img {
            border: 2px solid #cfcfcf;
            }
            .gallery-caption {
            margin-left: 0;
            }
            </style>
            #v-

            Which, when written in this fashion, should be in the head rather than
            the body. Having said that you would be better served by placing all the
            styles as _external_ css.

            Andrew

            --
            Do you think that's air you're breathing now?

            Comment

            • Roy A.

              #7
              Re: Help me validate my website!

              On 20 Sep, 10:05, "Miladin Miladinoski" <i.am.afr...@fr om.spamwrote:
              On Sat, 20 Sep 2008 05:44:18 +0200, Roy A. <royarnes...@gm ail.comwrote:
              The first error ("Line 295, Column 289: end tag for "link" omitted,
              but OMITTAG NO was specified .") is pointing to this line:
              >
              <link media="screen" type="text/css" href="http://
              miladinoski.tra p17.com/wp-content/plugins/reply-w-comment-preview/css/
              at-reply.css" rel="stylesheet ">
              >
              The tag should be closed with ' />'.
              >
              This error is generated by the 'reply-w-comment-preview' plug-in on
              line 35.
              >
              OK, thanks very much, after fixing that error (which i didn't knew which  
              fault is it sorry for my newbieness) 3 errors have dissapeared, but now I 
              need help with the last 4 ones. To me it seems that they are fine, but I'm  
              obviously not an expert and need help in what do I need to edit so they  
              dissapear.
              I don't have WordPress, but it seems to be an error in 'media.php'. It
              inserts a style
              element in the document body. It is suggested that you copy the css
              content from
              media.php into your style.css (line 373). Line 412 is said missing an
              end slash. I
              don't know, look at this (just skip the comment to Dickie):

              Anonymous User (@anonymized-3085) 17 years, 8 months ago On trying out the gallery I notice that for some reason the style associated with this is being added into the content. Surely this should b…


              Here is the style you're looking for:

              <style type='text/css'>
              ..gallery {
              margin: auto;
              }
              ..gallery-item {
              float: left;
              margin-top: 10px;
              text-align: center;
              width: 33%; }
              ..gallery img {
              border: 2px solid #cfcfcf;
              }
              ..gallery-caption {
              margin-left: 0;
              }
              </style>


              Comment

              • Lars Eighner

                #8
                Re: Help me validate my website!

                In our last episode, <op.uhrsq1wgqqf b7m@whiteeagle-laptop>, the lovely and
                talented Miladin Miladinoski broadcast on
                comp.infosystem s.www.authoring.html:
                On Sat, 20 Sep 2008 05:44:18 +0200, Roy A. <royarneskar@gm ail.comwrote:
                >The first error ("Line 295, Column 289: end tag for "link" omitted,
                >but OMITTAG NO was specified .") is pointing to this line:
                >>
                ><link media="screen" type="text/css" href="http://
                >miladinoski.tr ap17.com/wp-content/plugins/reply-w-comment-preview/css/
                >at-reply.css" rel="stylesheet ">
                >>
                >The tag should be closed with ' />'.
                >>
                >This error is generated by the 'reply-w-comment-preview' plug-in on
                >line 35.
                OK, thanks very much, after fixing that error (which i didn't knew which
                fault is it sorry for my newbieness) 3 errors have dissapeared, but now I
                need help with the last 4 ones. To me it seems that they are fine, but I'm
                obviously not an expert and need help in what do I need to edit so they
                dissapear.
                Just working from memory here:

                You ran the a tag into attributes a couple of times. Use search to
                check for <atitle and <ahref (you must have a space after the <a ).
                You did the same with <imgsrc which must be changed to <img src.
                You put a style element in the body of your document. It must be moved to
                the head or removed altogether. Along about line 529 or thereabouts
                you opened a paragraph, had a script and then opened paragraph again.
                You cannot have a paragraph in a paragraph, so you must eliminate one of the
                paragraph opens or you must close the first one before you open the second.

                That's all I can remember, but if there are still problems after that, I'll
                look at it again.


                --
                Lars Eighner <http://larseighner.com/usenet@larseigh ner.com
                Health is merely the slowest possible rate at which one can die.

                Comment

                • Roy A.

                  #9
                  Re: Help me validate my website!

                  On 20 Sep, 10:54, "Roy A." <royarnes...@gm ail.comwrote:
                  I don't have WordPress, but it seems to be an error in 'media.php'. It
                  inserts a style
                  element in the document body. It is suggested that you copy the css
                  content from
                  media.php into your style.css (line 373). Line 412 is said missing an
                  end slash. I
                  don't know, look at this (just skip the comment to Dickie):
                  >
                  http://wordpress.org/support/topic/164825
                  I downloaded WordPress 2.5.2, but nothing matches. The link is about
                  "WordPress version: 2.5". It's an error in the core,
                  and still not fixed. You could try to write an plug-in like Dickie is
                  suggesting, but even the core code is a mess. A found the style code
                  in "wp-includes/media.php" (on line 426), but by simply removing that
                  an return an empty variable to the $output variable, you're taking
                  away a feature.

                  A couple of lines below (the if sentence on line 460) i found this
                  snippet:

                  <br style="clear: both" />

                  Well, that's well formed, but not valid. The clear property applies
                  only to block-level elements, not inline text-level elements like the
                  'br' element. To be valid they should have used a block-level element
                  or (in an transitional document) the deprecated 'clear' attribute <br
                  clear="both" />.

                  With a lot of work you could manage to make it well formed, but it
                  would still not be valid. I think you would have to let it go, and
                  live with it. And I think it would be better in the long run to just
                  report the bugs and join their community.

                  We've got a variety of resources to help you get the most out of WordPress.

                  Comment

                  • Ben C

                    #10
                    Re: Help me validate my website!

                    On 2008-09-20, Roy A. <royarneskar@gm ail.comwrote:
                    [...]
                    ><br style="clear: both" />
                    >
                    Well, that's well formed, but not valid. The clear property applies
                    only to block-level elements, not inline text-level elements like the
                    'br' element.
                    I think technically it's still valid-- using styles that don't apply
                    just means they don't apply.

                    CSS isn't exactly valid or invalid in the same way HTML is, but it can
                    have errors in it, but clear: both isn't an error whatever you set it
                    on.

                    You are right clear is only supposed to apply to block-level elements
                    since CSS 2.1, but all browsers make an exception for <brI suppose
                    since to treat <br clear="left"dif ferently from <br style="clear:
                    left"would just be confusing.

                    Comment

                    Working...