wc3 error

Discussion in 'HTML' started by Terje Sæternes, May 19, 2004.

  1. I get following errors:
    Line 53, column 153: entity was defined here

    ....F"><a href='layout.php?action=showavd&avdid=3' class="avd">

    Line 53, column 153: entity was defined here

    ....F"><a href='layout.php?action=showavd&avdid=3' class="avd">

    Line 19, column 74: there is no attribute "HEIGHT"

    ....="0" cellpadding="0" align="center" height="100%">


    And my PHP code for url's is :

    <h1><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b><font
    color="#FFFFFF"><a href="layout.php?action=showavd&<?php echo
    $MM_keepNone.(($MM_keepNone!="")?"&":"")."avdid=".$avd->Fields("AvdID") ?>"
    class="avd"><?php echo $avd->Fields("Avd")?></a></font></b></font></h1>

    What the hell is wrong with my links?

    Can't I set the height of the table to 100%?

    Best regards Terje
    Terje Sæternes, May 19, 2004
    #1
    1. Advertising

  2. Terje Sæternes

    Mitja Guest

    Terje Sæternes <>
    (news:JzHqc.2424$) wrote:
    > I get following errors:
    > Line 53, column 153: entity was defined here
    >
    > ...F"><a href='layout.php?action=showavd&avdid=3' class="avd">
    >
    > Line 53, column 153: entity was defined here
    >
    > ...F"><a href='layout.php?action=showavd&avdid=3' class="avd">
    >
    > Line 19, column 74: there is no attribute "HEIGHT"


    W3C standards want you to use entities (e.g. &lt; instead of just <) even in
    urls. So ...showavd&avdid=... should be ...showavd&amp;avdid=...

    > ...="0" cellpadding="0" align="center" height="100%">


    Speaks for itself. Table has no "height" attribute.

    >
    > And my PHP code for url's is :
    >
    > <h1><font face="Verdana, Arial, Helvetica, sans-serif"
    > size="1"><b><font color="#FFFFFF"><a
    > href="layout.php?action=showavd&<?php echo
    > $MM_keepNone.(($MM_keepNone!="")?"&":"")."avdid=".$avd->Fields("AvdID")
    > ?>" class="avd"><?php echo
    > $avd->Fields("Avd")?></a></font></b></font></h1>
    >
    > What the hell is wrong with my links?
    >
    > Can't I set the height of the table to 100%?


    Sure you can. Use CSS.

    >
    > Best regards Terje
    Mitja, May 19, 2004
    #2
    1. Advertising

  3. Thanks, all errors gone, BUT why wont the 100% height table display correct
    in Opera? It works fine in IE. And yes I've set the tableheigt in css with
    this code: .hovedtabell{BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none;
    BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none; height: 100% }

    Anyone?

    Terje

    "Mitja" <> skrev i melding
    news:bVHqc.3332$...
    > Terje Sæternes <>
    > (news:JzHqc.2424$) wrote:
    > > I get following errors:
    > > Line 53, column 153: entity was defined here
    > >
    > > ...F"><a href='layout.php?action=showavd&avdid=3' class="avd">
    > >
    > > Line 53, column 153: entity was defined here
    > >
    > > ...F"><a href='layout.php?action=showavd&avdid=3' class="avd">
    > >
    > > Line 19, column 74: there is no attribute "HEIGHT"

    >
    > W3C standards want you to use entities (e.g. &lt; instead of just <) even

    in
    > urls. So ...showavd&avdid=... should be ...showavd&amp;avdid=...
    >
    > > ...="0" cellpadding="0" align="center" height="100%">

    >
    > Speaks for itself. Table has no "height" attribute.
    >
    > >
    > > And my PHP code for url's is :
    > >
    > > <h1><font face="Verdana, Arial, Helvetica, sans-serif"
    > > size="1"><b><font color="#FFFFFF"><a
    > > href="layout.php?action=showavd&<?php echo
    > > $MM_keepNone.(($MM_keepNone!="")?"&":"")."avdid=".$avd->Fields("AvdID")
    > > ?>" class="avd"><?php echo
    > > $avd->Fields("Avd")?></a></font></b></font></h1>
    > >
    > > What the hell is wrong with my links?
    > >
    > > Can't I set the height of the table to 100%?

    >
    > Sure you can. Use CSS.
    >
    > >
    > > Best regards Terje

    >
    >
    Terje Sæternes, May 19, 2004
    #3
  4. Terje Sæternes

    SpaceGirl Guest

    Just because a browser displays it doesn't make it part of the standard. IE
    does *lots* of non standard things, and has lots of bespoke 'extras' which
    will never be in the standards. Take scrollbar colouring as an example.


    "Terje Sæternes" <> wrote in message
    news:I%Hqc.2432$...
    > Thanks, all errors gone, BUT why wont the 100% height table display

    correct
    > in Opera? It works fine in IE. And yes I've set the tableheigt in css with
    > this code: .hovedtabell{BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none;
    > BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none; height: 100% }
    >
    > Anyone?
    >
    > Terje
    >
    > "Mitja" <> skrev i melding
    > news:bVHqc.3332$...
    > > Terje Sæternes <>
    > > (news:JzHqc.2424$) wrote:
    > > > I get following errors:
    > > > Line 53, column 153: entity was defined here
    > > >
    > > > ...F"><a href='layout.php?action=showavd&avdid=3' class="avd">
    > > >
    > > > Line 53, column 153: entity was defined here
    > > >
    > > > ...F"><a href='layout.php?action=showavd&avdid=3' class="avd">
    > > >
    > > > Line 19, column 74: there is no attribute "HEIGHT"

    > >
    > > W3C standards want you to use entities (e.g. &lt; instead of just <)

    even
    > in
    > > urls. So ...showavd&avdid=... should be ...showavd&amp;avdid=...
    > >
    > > > ...="0" cellpadding="0" align="center" height="100%">

    > >
    > > Speaks for itself. Table has no "height" attribute.
    > >
    > > >
    > > > And my PHP code for url's is :
    > > >
    > > > <h1><font face="Verdana, Arial, Helvetica, sans-serif"
    > > > size="1"><b><font color="#FFFFFF"><a
    > > > href="layout.php?action=showavd&<?php echo
    > > >

    $MM_keepNone.(($MM_keepNone!="")?"&":"")."avdid=".$avd->Fields("AvdID")
    > > > ?>" class="avd"><?php echo
    > > > $avd->Fields("Avd")?></a></font></b></font></h1>
    > > >
    > > > What the hell is wrong with my links?
    > > >
    > > > Can't I set the height of the table to 100%?

    > >
    > > Sure you can. Use CSS.
    > >
    > > >
    > > > Best regards Terje

    > >
    > >

    >
    >
    SpaceGirl, May 19, 2004
    #4
  5. Terje Sæternes

    Whitecrest Guest

    In article <>,
    says...
    > Just because a browser displays it doesn't make it part of the standard. IE
    > does *lots* of non standard things, and has lots of bespoke 'extras' which
    > will never be in the standards. Take scrollbar colouring as an example.
    >> "Terje Sæternes" <> wrote in message


    UH-OH you top posted! I'm telling Mom!!!
    --
    Whitecrest Entertainment
    www.whitecrestent.com
    Whitecrest, May 19, 2004
    #5
  6. Terje Sæternes

    Steve Pugh Guest

    "SpaceGirl" <> wrote:
    >"Terje Sæternes" <> wrote in message
    >news:I%Hqc.2432$...


    Upside down, full quoted posting fixed. Stop it. Both of you.

    >> Thanks, all errors gone, BUT why wont the 100% height table display
    >> correct in Opera? It works fine in IE. And yes I've set the tableheigt in css with
    >> this code: .hovedtabell{BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none;
    >> BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none; height: 100% }


    Without seeing the whole of the page it's impossible to say but I'd
    hazard a guess that the table is the only thing in the page? And that
    the height of the content inside the table is less than the height of
    the browser window? So 100% in that case would be 100% of the height
    of the parent which is body, and 100% of the height of body is the
    height of the content, so round in circles we go.
    html, body {height: 100%;} may help, but it depends on several other
    factors as well.

    >Just because a browser displays it doesn't make it part of the standard. IE
    >does *lots* of non standard things, and has lots of bespoke 'extras' which
    >will never be in the standards. Take scrollbar colouring as an example.


    True, but height is part of the standard.

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <> <http://steve.pugh.net/>
    Steve Pugh, May 19, 2004
    #6
  7. Terje Sæternes

    SpaceGirl Guest

    "Whitecrest" <> wrote in message
    news:...
    In article <>,
    says...
    > Just because a browser displays it doesn't make it part of the standard.

    IE
    > does *lots* of non standard things, and has lots of bespoke 'extras' which
    > will never be in the standards. Take scrollbar colouring as an example.
    >> "Terje Sæternes" <> wrote in message


    UH-OH you top posted! I'm telling Mom!!!
    --
    Whitecrest Entertainment
    www.whitecrestent.com

    Only cuz the other postee did.
    SpaceGirl, May 19, 2004
    #7
  8. Terje Sæternes

    SpaceGirl Guest

    "Steve Pugh" <> wrote in message
    news:eek:...
    > "SpaceGirl" <> wrote:
    > >"Terje Sæternes" <> wrote in message
    > >news:I%Hqc.2432$...

    >
    > Upside down, full quoted posting fixed. Stop it. Both of you.
    >
    > >> Thanks, all errors gone, BUT why wont the 100% height table display
    > >> correct in Opera? It works fine in IE. And yes I've set the tableheigt

    in css with
    > >> this code: .hovedtabell{BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE:

    none;
    > >> BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none; height: 100% }

    >
    > Without seeing the whole of the page it's impossible to say but I'd
    > hazard a guess that the table is the only thing in the page? And that
    > the height of the content inside the table is less than the height of
    > the browser window? So 100% in that case would be 100% of the height
    > of the parent which is body, and 100% of the height of body is the
    > height of the content, so round in circles we go.
    > html, body {height: 100%;} may help, but it depends on several other
    > factors as well.
    >
    > >Just because a browser displays it doesn't make it part of the standard.

    IE
    > >does *lots* of non standard things, and has lots of bespoke 'extras'

    which
    > >will never be in the standards. Take scrollbar colouring as an example.

    >
    > True, but height is part of the standard.
    >
    > Steve
    >
    > --
    > "My theories appal you, my heresies outrage you,
    > I never answer letters and you don't like my tie." - The Doctor
    >
    > Steve Pugh <> <http://steve.pugh.net/>


    awww, dad!
    SpaceGirl, May 19, 2004
    #8
  9. Terje Sæternes

    Steve Pugh Guest

    Steve Pugh <> wrote:
    >>"Terje Sæternes" <> wrote in message
    >>news:I%Hqc.2432$...

    >
    >>> Thanks, all errors gone, BUT why wont the 100% height table display
    >>> correct in Opera? It works fine in IE. And yes I've set the tableheigt in css with
    >>> this code: .hovedtabell{BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none;
    >>> BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none; height: 100% }

    >
    >Without seeing the whole of the page it's impossible to say but I'd
    >hazard a guess that the table is the only thing in the page? And that
    >the height of the content inside the table is less than the height of
    >the browser window? So 100% in that case would be 100% of the height
    >of the parent which is body, and 100% of the height of body is the
    >height of the content, so round in circles we go.


    Hmm, actually, which versions of IE and Opera are you using?
    IE6 and Opera 7.5 behave identically in both quirks and standards mode
    (i.e. in quirks mode they get it wrong and make the table the height
    of the window, whilst in standards mode they get it right and make the
    table only as high as its contents).

    So I'm guessing that either your actual code is more complex or you're
    using IE5.x and Opera 7.x with a doctype that triggers standards mode
    in the latter.

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <> <http://steve.pugh.net/>
    Steve Pugh, May 19, 2004
    #9
  10. Terje Sæternes

    Mabden Guest

    "SpaceGirl" <> wrote in message
    news:...
    >
    > "Whitecrest" <> wrote in message
    > news:...
    > In article <>,
    > says...
    > > Just because a browser displays it doesn't make it part of the standard.

    > IE
    > > does *lots* of non standard things, and has lots of bespoke 'extras'

    which
    > > will never be in the standards. Take scrollbar colouring as an example.
    > >> "Terje Sæternes" <> wrote in message

    >
    > UH-OH you top posted! I'm telling Mom!!!
    > --
    > Whitecrest Entertainment
    > www.whitecrestent.com
    >
    > Only cuz the other postee did.
    >


    And if the other postee jumped off a cliff, would you...?

    --
    Mabden

    "You kids shouldn't play so rough.
    Somebody's gonna end up cryin'."
    -Reservoir Dogs

    http://quotes.sitenook.com/Quotes.asp?Cat=MOVIES&Num=14
    Mabden, May 19, 2004
    #10
  11. Terje Sæternes

    SpaceGirl Guest

    "Mabden" <> wrote in message
    news:QfLqc.1335$...
    > "SpaceGirl" <> wrote in message
    > news:...
    > >
    > > "Whitecrest" <> wrote in message
    > > news:...
    > > In article <>,
    > > says...
    > > > Just because a browser displays it doesn't make it part of the

    standard.
    > > IE
    > > > does *lots* of non standard things, and has lots of bespoke 'extras'

    > which
    > > > will never be in the standards. Take scrollbar colouring as an

    example.
    > > >> "Terje Sæternes" <> wrote in message

    > >
    > > UH-OH you top posted! I'm telling Mom!!!
    > > --
    > > Whitecrest Entertainment
    > > www.whitecrestent.com
    > >
    > > Only cuz the other postee did.
    > >

    >
    > And if the other postee jumped off a cliff, would you...?
    >
    > --
    > Mabden


    If it were fashionable, yes :)
    SpaceGirl, May 19, 2004
    #11
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hfk0
    Replies:
    2
    Views:
    21,642
  2. JavaQueries
    Replies:
    1
    Views:
    3,632
    John C. Bollinger
    Mar 1, 2005
  3. Replies:
    10
    Views:
    750
    Adrienne Boswell
    Jun 10, 2006
  4. Knut Krueger

    Why is here no wc3 validation error?

    Knut Krueger, Jun 2, 2007, in forum: HTML
    Replies:
    5
    Views:
    412
    dorayme
    Jun 2, 2007
  5. Just Me
    Replies:
    7
    Views:
    421
    Just Me
    Sep 22, 2007
Loading...

Share This Page