Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > wc3 error

Reply
Thread Tools

wc3 error

 
 
Terje Sæternes
Guest
Posts: n/a
 
      05-19-2004
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


 
Reply With Quote
 
 
 
 
Mitja
Guest
Posts: n/a
 
      05-19-2004
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



 
Reply With Quote
 
 
 
 
Terje Sæternes
Guest
Posts: n/a
 
      05-19-2004
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

>
>



 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      05-19-2004
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

> >
> >

>
>



 
Reply With Quote
 
Whitecrest
Guest
Posts: n/a
 
      05-19-2004
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
 
Reply With Quote
 
Steve Pugh
Guest
Posts: n/a
 
      05-19-2004
"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/>
 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      05-19-2004

"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.


 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      05-19-2004

"Steve Pugh" <> wrote in message
news...
> "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!


 
Reply With Quote
 
Steve Pugh
Guest
Posts: n/a
 
      05-19-2004
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/>
 
Reply With Quote
 
Mabden
Guest
Posts: n/a
 
      05-19-2004
"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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WC3 Transitional Complence and Menus VS2005 Just Me ASP .Net 7 09-22-2007 07:42 AM
Why is here no wc3 validation error? Knut Krueger HTML 5 06-02-2007 04:51 PM
Someone please help! WC3 Validation problems buzbybakers@hotmail.com HTML 10 06-10-2006 05:30 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57