help validating code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TNALee
    Confirmed User
    • Dec 2004
    • 327

    #1

    help validating code

    hi i ran my site through w3 validator and it comes up with errors. In IE everything looks as it should but in firefox there is a space at the top where there shouldnt be.

    if someone could run my page through w3s validator and give me what i can do in english that would be soo appreciated. There is only like 6 errors so shouldnt take too long. I wouldnt even bother but since so many people are switching over to firefox it seems important.

    http://www.tnalinks.com/tna.htm is the page to run....thanks guys and gals
  • Xenthan
    Registered User
    • Dec 2004
    • 66

    #2
    The only VISUAL error I get from your page is:
    http://www.tnalinks.com/tna5.jpg
    "broken image" error...
    If you have more errors in the page I can't SEE them(that doesn't mean they are not there).I did not test your links though!
    BTW i used FF to view your page!
    I have found over the years that the first place I look for errors in/on a page is in the "links". Or in the code regaurding an "href" to your graphics.
    Good luck@

    Comment

    • TNALee
      Confirmed User
      • Dec 2004
      • 327

      #3
      the broken image is expected since the jpg is not uploaded but i was more concerned with the space above the table. It doenst show up in internet explorer but does in firefox browsers

      Comment

      • fusionx
        Confirmed User
        • Nov 2003
        • 4618

        #4
        add these to your body tag -

        marginwidth="0" marginheight="0"

        Netscape doesn't recognize the topmargin and leftmargin attributes.

        Comment

        • TNALee
          Confirmed User
          • Dec 2004
          • 327

          #5
          thanks a lot

          Comment

          • TNALee
            Confirmed User
            • Dec 2004
            • 327

            #6
            ok i added it but doesnt seem to change anything

            Comment

            • fusionx
              Confirmed User
              • Nov 2003
              • 4618

              #7
              When I look at the page source, I don't see the new attributes in your body tag.

              Did you update the page on the server?

              Comment

              • Workshop_Willy
                Confirmed User
                • Oct 2004
                • 452

                #8
                Originally posted by fusionx
                add these to your body tag -

                marginwidth="0" marginheight="0"

                Netscape doesn't recognize the topmargin and leftmargin attributes.
                Actually, that's exactly not true. It has to do with MSIE browsers and Mozilla browsers having a 10 pixel difference in where they start their margins.

                This code is automatically inserted by DW whenever I insert the first layer in a page, and seems to work very well for this issue and others that may arise with cross-browser compatibility and page resizing.

                I hope this helps. You might consider using DreamWeaver, it does have a few features which obviate the need for more mundane checking of cross-browser issues.
                FREE Retouch - get a gratis from the best there is!


                Do the Mess-Around...

                Comment

                • fusionx
                  Confirmed User
                  • Nov 2003
                  • 4618

                  #9
                  Originally posted by Workshop_Willy
                  Actually, that's exactly not true. It has to do with MSIE browsers and Mozilla browsers having a 10 pixel difference in where they start their margins.
                  Which is why you use both sets of body tag attributes to tell the browser to set the margin to "0". Thus it doesn't matter where the browser starts the margin.

                  Comment

                  • BackToMine
                    Confirmed User
                    • Nov 2004
                    • 541

                    #10
                    http://www.bradsoft.com/topstyle/

                    Comment

                    • TNALee
                      Confirmed User
                      • Dec 2004
                      • 327

                      #11
                      thanks, i will have to implement some of the stuff and get back to you guys later

                      Comment

                      Working...