2 errors - HTML 4.01 Transitional validation

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

    2 errors - HTML 4.01 Transitional validation

    I have wittled down my errors from 12 to 2, but the 2 it shows i can't
    really do anything about.

    1. Line 126, column 48: there is no attribute "COLOR"

    <td height="1" colspan="5"><hr size="1" color="#CCCCCC" ></td>


    2. Line 286, column 27: there is no attribute "BACKGROUND "

    <td width="4" background="rig ht-bittorrent-bg.gif">&nbsp;</td>

    For the first if I delete the color attribute obviously it changes colour
    which isn't what i want.
    For the second i'm not really sure about.

    Dreamweaver MX suggests both the COLOR and BACKGROUND attributes on it's
    auto pop-up thing while you're typing, so either DW is wrong or the
    validator is wrong. What am I doing wrong to get these errors?

    At the top i have:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


  • Peter Foti

    #2
    Re: 2 errors - HTML 4.01 Transitional validation

    "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message
    news:W0hIb.1842 $Ke6.14546080@n ews-text.cableinet. net...[color=blue]
    > I have wittled down my errors from 12 to 2, but the 2 it shows i can't
    > really do anything about.[/color]

    Ah, that's where you're wrong. There's plenty you can do about it. :)

    [color=blue]
    > 1. Line 126, column 48: there is no attribute "COLOR"
    >
    > <td height="1" colspan="5"><hr size="1" color="#CCCCCC" ></td>[/color]

    This is presentational, so you'll want to use CSS for this job. You have
    severeal options:
    1. Apply a style to all of your <hr> elements that make them 1px high with a
    color of #CCCCCC. In the head of your document (or in an external style
    sheet), add the following:

    <style type="text/css">
    hr { height: 1px; color: #CCCCCC; }
    </style>

    Then replace <hr size="1" color="#CCCCCC" > with <hr>. The end result will
    be valid, and should look like what you had before.

    2. Apply a class to specific <hr> elements that you want to have these
    properties. In the head of your document (or in an external style sheet),
    add the following:

    <style type="text/css">
    ..seperator { height: 1px; color: #CCCCCC; }
    </style>

    Then put this in your HTML <hr class="seperato r">
    (Note, you can call the class name anything you'd like, as long as what's in
    the HTML matches your CSS, and assuming you follow CSS naming rules).

    3. Apply an ID to a single <hr> element that you want to have these
    properties. In the head of your document (or in an external style sheet),
    add the following:

    <style type="text/css">
    #seperator { height: 1px; color: #CCCCCC; }
    </style>

    Then put this in your HTML <hr id="seperator" >
    (Note, you can call the ID name anything you'd like, as long as what's in
    the HTML matches your CSS, and assuming you follow CSS naming rules).

    [color=blue]
    > 2. Line 286, column 27: there is no attribute "BACKGROUND "
    >
    > <td width="4" background="rig ht-bittorrent-bg.gif">&nbsp;</td>
    >[/color]

    Again, presentational. From the looks of it, this table is being used for
    layout (which is a job for CSS, not HTML). However, rather than lecture you
    on the err of your ways...

    <style type="text/css">
    #rightbittorren tlayout { background: url(right-bittorrent-bg.gif) no-repeat
    top left; }
    </style>

    <td id="rightbittor rentlayout">&nb sp;</td>
    [color=blue]
    >
    > Dreamweaver MX suggests both the COLOR and BACKGROUND attributes on it's
    > auto pop-up thing while you're typing, so either DW is wrong or the
    > validator is wrong. What am I doing wrong to get these errors?[/color]

    Dreamweaver is wrong.

    My recommendation to you would be to learn some CSS. It's not difficult to
    learn, and it's the new standard for presentational properties of a web
    page. The spec is available on the W3 website (www.w3.org) and I'm sure you
    can probably find some tutorials if you Google search.

    Regards,
    Peter Foti



    Comment

    • Brian

      #3
      Re: 2 errors - HTML 4.01 Transitional validation

      StardogChampion wrote:[color=blue]
      > I have wittled down my errors from 12 to 2, but the 2 it shows i can't
      > really do anything about.
      >
      > 1. Line 126, column 48: there is no attribute "COLOR"
      >
      > <td height="1" colspan="5"><hr size="1" color="#CCCCCC" ></td>
      >
      >
      > 2. Line 286, column 27: there is no attribute "BACKGROUND "
      >
      > <td width="4" background="rig ht-bittorrent-bg.gif">&nbsp;</td>[/color]

      Validation aside, these are presentation issues, and are best left to
      css. And if you put them where they belong, i.e., in an external css
      file, the html may validate. But it looks like you have more
      important things to worry about. Are those tables for layout?
      [color=blue]
      > Dreamweaver MX suggests both the COLOR and BACKGROUND attributes on it's
      > auto pop-up thing while you're typing, so either DW is wrong or the
      > validator is wrong.[/color]

      Unless there is a bug in the validator, and noone has reported any to
      explain what you are seeing, the validator is only doing its job,
      reporting that the html does not conform to the spec that you've
      claimed it conforms to. In other words, Dreamweaver is wrong.
      [color=blue]
      > What am I doing wrong to get these errors?[/color]

      ....using Dreamweaver. ;-)
      [color=blue]
      > At the top i have:
      > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">[/color]

      No uri?

      [color=blue]
      > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">[/color]

      Headers to declare content type should be sent out in the headers of
      the html file to be sent, not in the html itself.

      Figure out how to send correct headers, and if you're using tables for
      layout, stop. These are far more important, imho, than whether your
      html validates.

      --
      Brian
      follow the directions in my address to email me

      Comment

      • StardogChampion

        #4
        Re: 2 errors - HTML 4.01 Transitional validation

        "Peter Foti" <peterf@systoli cNOSPAMnetworks .com> wrote in message
        news:vv38pb4ans rn07@corp.super news.com...[color=blue]
        > "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message
        > news:W0hIb.1842 $Ke6.14546080@n ews-text.cableinet. net...[color=green]
        > > I have wittled down my errors from 12 to 2, but the 2 it shows i can't
        > > really do anything about.[/color]
        >
        > Ah, that's where you're wrong. There's plenty you can do about it. :)
        >
        >[color=green]
        > > 1. Line 126, column 48: there is no attribute "COLOR"
        > >
        > > <td height="1" colspan="5"><hr size="1" color="#CCCCCC" ></td>[/color]
        >
        > This is presentational, so you'll want to use CSS for this job. You have
        > severeal options:
        > 1. Apply a style to all of your <hr> elements that make them 1px high with[/color]
        a[color=blue]
        > color of #CCCCCC. In the head of your document (or in an external style
        > sheet), add the following:
        >
        > <style type="text/css">
        > hr { height: 1px; color: #CCCCCC; }
        > </style>
        >
        > Then replace <hr size="1" color="#CCCCCC" > with <hr>. The end result will
        > be valid, and should look like what you had before.
        >
        > 2. Apply a class to specific <hr> elements that you want to have these
        > properties. In the head of your document (or in an external style sheet),
        > add the following:
        >
        > <style type="text/css">
        > .seperator { height: 1px; color: #CCCCCC; }
        > </style>
        >
        > Then put this in your HTML <hr class="seperato r">
        > (Note, you can call the class name anything you'd like, as long as what's[/color]
        in[color=blue]
        > the HTML matches your CSS, and assuming you follow CSS naming rules).
        >
        > 3. Apply an ID to a single <hr> element that you want to have these
        > properties. In the head of your document (or in an external style sheet),
        > add the following:
        >
        > <style type="text/css">
        > #seperator { height: 1px; color: #CCCCCC; }
        > </style>
        >
        > Then put this in your HTML <hr id="seperator" >
        > (Note, you can call the ID name anything you'd like, as long as what's in
        > the HTML matches your CSS, and assuming you follow CSS naming rules).
        >
        >[color=green]
        > > 2. Line 286, column 27: there is no attribute "BACKGROUND "
        > >
        > > <td width="4" background="rig ht-bittorrent-bg.gif">&nbsp;</td>
        > >[/color]
        >
        > Again, presentational. From the looks of it, this table is being used for
        > layout (which is a job for CSS, not HTML). However, rather than lecture[/color]
        you[color=blue]
        > on the err of your ways...
        >
        > <style type="text/css">
        > #rightbittorren tlayout { background: url(right-bittorrent-bg.gif)[/color]
        no-repeat[color=blue]
        > top left; }
        > </style>
        >
        > <td id="rightbittor rentlayout">&nb sp;</td>
        >[color=green]
        > >
        > > Dreamweaver MX suggests both the COLOR and BACKGROUND attributes on it's
        > > auto pop-up thing while you're typing, so either DW is wrong or the
        > > validator is wrong. What am I doing wrong to get these errors?[/color]
        >
        > Dreamweaver is wrong.
        >
        > My recommendation to you would be to learn some CSS. It's not difficult[/color]
        to[color=blue]
        > learn, and it's the new standard for presentational properties of a web
        > page. The spec is available on the W3 website (www.w3.org) and I'm sure[/color]
        you[color=blue]
        > can probably find some tutorials if you Google search.
        >
        > Regards,
        > Peter Foti
        >
        >
        >[/color]

        Thank you for your thourough explanations. I have used your second step to
        fix my horizontal rules, since i already had an external stylesheet. So
        basically i need to remember that CSS is for layout and presentation, not
        HTML!
        [color=blue]
        > <style type="text/css">
        > #rightbittorren tlayout { background: url(right-bittorrent-bg.gif)[/color]
        no-repeat[color=blue]
        > top left; }
        > </style>
        >
        > <td id="rightbittor rentlayout">&nb sp;</td>[/color]

        Can i put ".rightbittorre ntlayout { background: url(right-bittorrent-bg.gif)
        no-repeat top left; }" in my stylesheet and use <td
        class="rightbit torrentlayout"> ? I could've tried it already rather than
        typing out another question... Thanks again, i'll read up some more on CSS.


        Comment

        • StardogChampion

          #5
          Re: 2 errors - HTML 4.01 Transitional validation

          "Brian" <usenet2@juliet remblay.com.inv alid-remove-this-part> wrote in
          message news:UyhIb.2373 11$_M.1045450@a ttbi_s54...[color=blue]
          > StardogChampion wrote:[color=green]
          > > I have wittled down my errors from 12 to 2, but the 2 it shows i can't
          > > really do anything about.
          > >
          > > 1. Line 126, column 48: there is no attribute "COLOR"
          > >
          > > <td height="1" colspan="5"><hr size="1" color="#CCCCCC" ></td>
          > >
          > >
          > > 2. Line 286, column 27: there is no attribute "BACKGROUND "
          > >
          > > <td width="4" background="rig ht-bittorrent-bg.gif">&nbsp;</td>[/color]
          >
          > Validation aside, these are presentation issues, and are best left to
          > css. And if you put them where they belong, i.e., in an external css
          > file, the html may validate. But it looks like you have more
          > important things to worry about. Are those tables for layout?[/color]

          I'm guessing they are, i remember reading a while ago about using CSS to
          make tables but i didn't properly learn or use it, i'll go look at some
          tutorials.
          [color=blue][color=green]
          > > Dreamweaver MX suggests both the COLOR and BACKGROUND attributes on it's
          > > auto pop-up thing while you're typing, so either DW is wrong or the
          > > validator is wrong.[/color]
          >
          > Unless there is a bug in the validator, and noone has reported any to
          > explain what you are seeing, the validator is only doing its job,
          > reporting that the html does not conform to the spec that you've
          > claimed it conforms to. In other words, Dreamweaver is wrong.
          >[color=green]
          > > What am I doing wrong to get these errors?[/color]
          >
          > ...using Dreamweaver. ;-)
          >[color=green]
          > > At the top i have:
          > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">[/color]
          >
          > No uri?
          > http://www.w3.org/QA/2002/04/valid-dtd-list.html
          >[/color]

          This was put at the top by Dweaver, so i just left it there.
          [color=blue][color=green]
          > > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">[/color]
          >[/color]

          This IS in the <head> of my page, i was just pasting them since those are
          the two parts which show what the validator looks for (encoding and
          doctype).
          [color=blue]
          > Headers to declare content type should be sent out in the headers of
          > the html file to be sent, not in the html itself.
          >
          > Figure out how to send correct headers, and if you're using tables for
          > layout, stop. These are far more important, imho, than whether your
          > html validates.
          >
          > --
          > Brian
          > follow the directions in my address to email me
          >[/color]

          Thanks!


          Comment

          • StardogChampion

            #6
            Re: 2 errors - HTML 4.01 Transitional validation

            "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message
            news:CXhIb.1889 $DT7.15900878@n ews-text.cableinet. net...[color=blue]
            > "Peter Foti" <peterf@systoli cNOSPAMnetworks .com> wrote in message
            > news:vv38pb4ans rn07@corp.super news.com...[color=green]
            > > "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message
            > > news:W0hIb.1842 $Ke6.14546080@n ews-text.cableinet. net...[color=darkred]
            > > > I have wittled down my errors from 12 to 2, but the 2 it shows i can't
            > > > really do anything about.[/color]
            > >
            > > Ah, that's where you're wrong. There's plenty you can do about it. :)
            > >
            > >[color=darkred]
            > > > 1. Line 126, column 48: there is no attribute "COLOR"
            > > >
            > > > <td height="1" colspan="5"><hr size="1" color="#CCCCCC" ></td>[/color]
            > >
            > > This is presentational, so you'll want to use CSS for this job. You[/color][/color]
            have[color=blue][color=green]
            > > severeal options:
            > > 1. Apply a style to all of your <hr> elements that make them 1px high[/color][/color]
            with[color=blue]
            > a[color=green]
            > > color of #CCCCCC. In the head of your document (or in an external style
            > > sheet), add the following:
            > >
            > > <style type="text/css">
            > > hr { height: 1px; color: #CCCCCC; }
            > > </style>
            > >
            > > Then replace <hr size="1" color="#CCCCCC" > with <hr>. The end result[/color][/color]
            will[color=blue][color=green]
            > > be valid, and should look like what you had before.
            > >
            > > 2. Apply a class to specific <hr> elements that you want to have these
            > > properties. In the head of your document (or in an external style[/color][/color]
            sheet),[color=blue][color=green]
            > > add the following:
            > >
            > > <style type="text/css">
            > > .seperator { height: 1px; color: #CCCCCC; }
            > > </style>
            > >
            > > Then put this in your HTML <hr class="seperato r">
            > > (Note, you can call the class name anything you'd like, as long as[/color][/color]
            what's[color=blue]
            > in[color=green]
            > > the HTML matches your CSS, and assuming you follow CSS naming rules).
            > >
            > > 3. Apply an ID to a single <hr> element that you want to have these
            > > properties. In the head of your document (or in an external style[/color][/color]
            sheet),[color=blue][color=green]
            > > add the following:
            > >
            > > <style type="text/css">
            > > #seperator { height: 1px; color: #CCCCCC; }
            > > </style>
            > >
            > > Then put this in your HTML <hr id="seperator" >
            > > (Note, you can call the ID name anything you'd like, as long as what's[/color][/color]
            in[color=blue][color=green]
            > > the HTML matches your CSS, and assuming you follow CSS naming rules).
            > >
            > >[color=darkred]
            > > > 2. Line 286, column 27: there is no attribute "BACKGROUND "
            > > >
            > > > <td width="4" background="rig ht-bittorrent-bg.gif">&nbsp;</td>
            > > >[/color]
            > >
            > > Again, presentational. From the looks of it, this table is being used[/color][/color]
            for[color=blue][color=green]
            > > layout (which is a job for CSS, not HTML). However, rather than lecture[/color]
            > you[color=green]
            > > on the err of your ways...
            > >
            > > <style type="text/css">
            > > #rightbittorren tlayout { background: url(right-bittorrent-bg.gif)[/color]
            > no-repeat[color=green]
            > > top left; }
            > > </style>
            > >
            > > <td id="rightbittor rentlayout">&nb sp;</td>
            > >[color=darkred]
            > > >
            > > > Dreamweaver MX suggests both the COLOR and BACKGROUND attributes on[/color][/color][/color]
            it's[color=blue][color=green][color=darkred]
            > > > auto pop-up thing while you're typing, so either DW is wrong or the
            > > > validator is wrong. What am I doing wrong to get these errors?[/color]
            > >
            > > Dreamweaver is wrong.
            > >
            > > My recommendation to you would be to learn some CSS. It's not difficult[/color]
            > to[color=green]
            > > learn, and it's the new standard for presentational properties of a web
            > > page. The spec is available on the W3 website (www.w3.org) and I'm sure[/color]
            > you[color=green]
            > > can probably find some tutorials if you Google search.
            > >
            > > Regards,
            > > Peter Foti
            > >
            > >
            > >[/color]
            >
            > Thank you for your thourough explanations. I have used your second step to
            > fix my horizontal rules, since i already had an external stylesheet. So
            > basically i need to remember that CSS is for layout and presentation, not
            > HTML!
            >[color=green]
            > > <style type="text/css">
            > > #rightbittorren tlayout { background: url(right-bittorrent-bg.gif)[/color]
            > no-repeat[color=green]
            > > top left; }
            > > </style>
            > >
            > > <td id="rightbittor rentlayout">&nb sp;</td>[/color]
            >
            > Can i put ".rightbittorre ntlayout { background:[/color]
            url(right-bittorrent-bg.gif)[color=blue]
            > no-repeat top left; }" in my stylesheet and use <td
            > class="rightbit torrentlayout"> ? I could've tried it already rather than
            > typing out another question... Thanks again, i'll read up some more on[/color]
            CSS.

            It's OK, i tried it and it works, wahey. Thanks.


            Comment

            • Peter Foti

              #7
              Re: 2 errors - HTML 4.01 Transitional validation

              "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message
              news:o6iIb.1908 $Bk7.15450280@n ews-text.cableinet. net...[color=blue][color=green][color=darkred]
              > > > <style type="text/css">
              > > > #rightbittorren tlayout { background: url(right-bittorrent-bg.gif)[/color]
              > > no-repeat[color=darkred]
              > > > top left; }
              > > > </style>
              > > >
              > > > <td id="rightbittor rentlayout">&nb sp;</td>[/color]
              > >
              > > Can i put ".rightbittorre ntlayout { background:[/color]
              > url(right-bittorrent-bg.gif)[color=green]
              > > no-repeat top left; }" in my stylesheet and use <td
              > > class="rightbit torrentlayout"> ? I could've tried it already rather than
              > > typing out another question... Thanks again, i'll read up some more on[/color]
              > CSS.
              >
              > It's OK, i tried it and it works, wahey. Thanks.[/color]

              Yeah, I got lazy at the end there and didn't duplicate the examples I gave
              for the <hr>. :)

              Pete


              Comment

              • Harlan Messinger

                #8
                Re: 2 errors - HTML 4.01 Transitional validation


                "Peter Foti" <peterf@systoli cNOSPAMnetworks .com> wrote in message
                news:vv38pb4ans rn07@corp.super news.com...

                [snip]
                [color=blue]
                > 2. Apply a class to specific <hr> elements that you want to have these
                > properties. In the head of your document (or in an external style sheet),
                > add the following:
                >
                > <style type="text/css">
                > .seperator { height: 1px; color: #CCCCCC; }
                > </style>
                >
                > Then put this in your HTML <hr class="seperato r">[/color]

                I'm not in the habit of picking on people's spelling, but using misspelled
                words in code causes maintenance headaches, since not everybody notices a
                previous misspelling, and when they they have the misfortune of using the
                correct spelling in new code, it tends to mess things up. :-) It's
                "separator" .

                Comment

                • Alan J. Flavell

                  #9
                  Re: 2 errors - HTML 4.01 Transitional validation

                  On Tue, 30 Dec 2003, Harlan Messinger wrote:
                  [color=blue]
                  > I'm not in the habit of picking on people's spelling, but using misspelled
                  > words in code causes maintenance headaches, since not everybody notices a
                  > previous misspelling, and when they they have the misfortune of using the
                  > correct spelling in new code, it tends to mess things up.[/color]

                  Indeed - like "Referer" :-(

                  See RFC2616 section 14.36 for the correct spelling :-((

                  Comment

                  • Harlan Messinger

                    #10
                    Re: 2 errors - HTML 4.01 Transitional validation


                    "Alan J. Flavell" <flavell@ph.gla .ac.uk> wrote in message
                    news:Pine.LNX.4 .53.03123017284 10.15244@ppepc5 6.ph.gla.ac.uk. ..[color=blue]
                    > On Tue, 30 Dec 2003, Harlan Messinger wrote:
                    >[color=green]
                    > > I'm not in the habit of picking on people's spelling, but using[/color][/color]
                    misspelled[color=blue][color=green]
                    > > words in code causes maintenance headaches, since not everybody notices[/color][/color]
                    a[color=blue][color=green]
                    > > previous misspelling, and when they they have the misfortune of using[/color][/color]
                    the[color=blue][color=green]
                    > > correct spelling in new code, it tends to mess things up.[/color]
                    >
                    > Indeed - like "Referer" :-(
                    >
                    > See RFC2616 section 14.36 for the correct spelling :-(([/color]

                    Exactly! Of course, even correct spellings can leave room for error--is it
                    LOGON_USER or LOGIN_USER? :-(((

                    Comment

                    • David Dorward

                      #11
                      Re: 2 errors - HTML 4.01 Transitional validation

                      StardogChampion wrote:
                      [color=blue][color=green]
                      >> Headers to declare content type should be sent out in the headers of
                      >> the html file to be sent, not in the html itself.[/color][/color]
                      [color=blue]
                      > This IS in the <head> of my page, i was just pasting them since those are
                      > the two parts which show what the validator looks for (encoding and
                      > doctype).[/color]

                      The <head> portion of an HTML document, and the http headers sent before a
                      file are two different things.

                      http://www.htmlhelp.com/tools/validator/charset.html might be helpful.

                      --
                      David Dorward <http://dorward.me.uk/>

                      Comment

                      • StardogChampion

                        #12
                        Re: 2 errors - HTML 4.01 Transitional validation

                        "Brian" <usenet2@juliet remblay.com.inv alid-remove-this-part> wrote in
                        message news:UyhIb.2373 11$_M.1045450@a ttbi_s54...[color=blue]
                        > StardogChampion wrote:[color=green]
                        > > I have wittled down my errors from 12 to 2, but the 2 it shows i can't
                        > > really do anything about.
                        > >
                        > > 1. Line 126, column 48: there is no attribute "COLOR"
                        > >
                        > > <td height="1" colspan="5"><hr size="1" color="#CCCCCC" ></td>
                        > >
                        > >
                        > > 2. Line 286, column 27: there is no attribute "BACKGROUND "
                        > >
                        > > <td width="4" background="rig ht-bittorrent-bg.gif">&nbsp;</td>[/color]
                        >
                        > Validation aside, these are presentation issues, and are best left to
                        > css. And if you put them where they belong, i.e., in an external css
                        > file, the html may validate. But it looks like you have more
                        > important things to worry about. Are those tables for layout?
                        >[color=green]
                        > > Dreamweaver MX suggests both the COLOR and BACKGROUND attributes on it's
                        > > auto pop-up thing while you're typing, so either DW is wrong or the
                        > > validator is wrong.[/color]
                        >
                        > Unless there is a bug in the validator, and noone has reported any to
                        > explain what you are seeing, the validator is only doing its job,
                        > reporting that the html does not conform to the spec that you've
                        > claimed it conforms to. In other words, Dreamweaver is wrong.
                        >[color=green]
                        > > What am I doing wrong to get these errors?[/color]
                        >
                        > ...using Dreamweaver. ;-)
                        >[color=green]
                        > > At the top i have:
                        > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">[/color]
                        >
                        > No uri?
                        > http://www.w3.org/QA/2002/04/valid-dtd-list.html
                        >[color=green]
                        > > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">[/color]
                        >
                        > Headers to declare content type should be sent out in the headers of
                        > the html file to be sent, not in the html itself.
                        >
                        > Figure out how to send correct headers, and if you're using tables for
                        > layout, stop. These are far more important, imho, than whether your
                        > html validates.
                        >
                        > --
                        > Brian
                        > follow the directions in my address to email me[/color]

                        I've been looking at some CSS layout tutorials, but all the example pages
                        they show you seem to "squash" when the browser is minimized e.g.
                        http://www.alistapart.com/d/slashdot/ - this is a CSS re-design of
                        slashdot's code. When you resize it, some images overlap and a host of other
                        things. Is there a way to set a width so the browser can't "squash" your
                        text?


                        Comment

                        • C A Upsdell

                          #13
                          Re: 2 errors - HTML 4.01 Transitional validation

                          "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message
                          news:W0hIb.1842 $Ke6.14546080@n ews-text.cableinet. net...[color=blue]
                          > I have wittled down my errors from 12 to 2, but the 2 it shows i can't
                          > really do anything about.
                          > For the first if I delete the color attribute obviously it changes colour
                          > which isn't what i want.[/color]

                          COLOR is IE-specific. Use CSS instead.
                          [color=blue]
                          > For the second i'm not really sure about.[/color]

                          BACKGROUND is not in the standards, but is supported by antique browsers
                          such as NN4. Use CSS. Also use BACKGROUND if you need to support antique
                          browsers that provide inadequate CSS support, and learn to live with such
                          validation errors.



                          Comment

                          Working...