Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 9th, 2006, 11:15 PM
Nije Nego
Guest
 
Posts: n/a
Default validator warning


Does it make sense for w3c validator to issue warning when style is coded

{ padding: 0 0 0 10%; }

It reads 0 as absolute.

--
buy, bought, bye
  #2  
Old August 10th, 2006, 03:15 PM
Harlan Messinger
Guest
 
Posts: n/a
Default Re: validator warning

Nije Nego wrote:
Quote:
Does it make sense for w3c validator to issue warning when style is coded
>
{ padding: 0 0 0 10%; }
No, so your flaw must be somewhere else.
Quote:
It reads 0 as absolute.
What does that mean?
  #3  
Old August 10th, 2006, 07:25 PM
Nije Nego
Guest
 
Posts: n/a
Default Re: validator warning

On Thu, 10 Aug 2006 10:20:57 -0400, Harlan Messinger wrote:
Quote:
Nije Nego wrote:
Quote:
>Does it make sense for w3c validator to issue warning when style is coded
>>
>{ padding: 0 0 0 10%; }
W3C validator issues a warning:
Line : 150 (Level : 2) You have some absolute and relative lengths in
padding. This is not a robust style sheet.
Quote:
No, so your flaw must be somewhere else.
No, you can check at http://bruno-s.net
at line 150 you'd find
margin: 0 10% 0 0;
Quote:
Quote:
>It reads 0 as absolute.
>
What does that mean?
It seams that w3c reads 0 as px in this combination. I find it strange.
When I change
margin: 0 10% 0 0;
to
margin: 0% 10% 0% %0;
warning dissapears.

--
buy, bought, bye
  #4  
Old August 10th, 2006, 08:15 PM
Jim Moe
Guest
 
Posts: n/a
Default Re: validator warning

Nije Nego wrote:
Quote:
>
Quote:
Quote:
>>It reads 0 as absolute.
>>
>What does that mean?
>
It seams that w3c reads 0 as px in this combination. I find it strange.
When I change
margin: 0 10% 0 0;
to
margin: 0% 10% 0% %0;
warning dissapears.
>
The validator apparently does not test for zero values when it scans for
uniform length units. You could send a query to the W3C asking about this
(email link at bottom of Validation page).

BTW: The spelling on the site is rather poor, for example, "Tablelles"
should be "Table-less."
Is English is a second language? I do not, for instance, understand what
"...(recently trough Netvibes ..." means.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
  #5  
Old August 10th, 2006, 08:55 PM
Harlan Messinger
Guest
 
Posts: n/a
Default Re: validator warning

Nije Nego wrote:
Quote:
On Thu, 10 Aug 2006 10:20:57 -0400, Harlan Messinger wrote:
>
Quote:
>Nije Nego wrote:
Quote:
>>Does it make sense for w3c validator to issue warning when style is coded
>>>
>>{ padding: 0 0 0 10%; }
>
W3C validator issues a warning:
Line : 150 (Level : 2) You have some absolute and relative lengths in
padding. This is not a robust style sheet.
>
Quote:
>No, so your flaw must be somewhere else.
>
No, you can check at http://bruno-s.net
at line 150 you'd find
margin: 0 10% 0 0;
I see--I missed that it was a warning rather than a validation error. So
it's valid, and now they've built in a suggestion-maker too, which is
useful in the same way that Microsoft Word's grammar check is
useful--sometimes it's right.
Quote:
>
Quote:
Quote:
>>It reads 0 as absolute.
>What does that mean?
>
It seams that w3c reads 0 as px in this combination. I find it strange.
When I change
margin: 0 10% 0 0;
to
margin: 0% 10% 0% %0;
warning dissapears.
OK, it's just being dumb. If it's going to suggest that the numbers be
all absolute or all relative (and I'm not sure I see the rationale for
that), it needs to recognize 0 as both absolute and relative).
  #6  
Old August 10th, 2006, 08:55 PM
Nije Nego
Guest
 
Posts: n/a
Default Re: validator warning

On Thu, 10 Aug 2006 12:19:39 -0700, Jim Moe wrote:
Quote:
Nije Nego wrote:
Quote:
>>
Quote:
>>>It reads 0 as absolute.
>>>
>>What does that mean?
>>
>It seams that w3c reads 0 as px in this combination. I find it strange.
>When I change
> margin: 0 10% 0 0;
>to
> margin: 0% 10% 0% %0;
>warning dissapears.
>>
The validator apparently does not test for zero values when it scans for
uniform length units. You could send a query to the W3C asking about this
(email link at bottom of Validation page).
That would most certainly be a vaste of time.
Quote:
BTW: The spelling on the site is rather poor, for example, "Tablelles"
should be "Table-less."
Using google Tableless (2.660.000) wins over Table-less (2.570.000).
Quote:
Is English is a second language?
I shall read your question as a positive. I thought it would be more
obvious.
Quote:
I do not, for instance, understand what
"...(recently trough Netvibes ..." means.
Misspelled - should be (already is) "... through Netvibes ..." which is my
curent home page.

--
buy, bought, bye
  #7  
Old August 10th, 2006, 09:25 PM
Nije Nego
Guest
 
Posts: n/a
Default Re: validator warning

On Thu, 10 Aug 2006 16:03:36 -0400, Harlan Messinger wrote:
Quote:
If it's going to suggest that the numbers be
all absolute or all relative (and I'm not sure I see the rationale for
that),
It is not sugessting anything for the numbers, it is using pt, px, (as
absolute) and %, em (as relative).

0 (without units) should be neutral (disregarded from validation).

--
buy, bought, bye
  #8  
Old August 10th, 2006, 10:15 PM
Jukka K. Korpela
Guest
 
Posts: n/a
Default Re: validator warning

Nije Nego" <"nije\"nego <"nije\"nego"@net.hrscripsit:
Quote:
Quote:
> The validator apparently does not test for zero values when it
>scans for uniform length units. You could send a query to the W3C
>asking about this (email link at bottom of Validation page).
>
That would most certainly be a vaste of time.
So you think it would more futile to send your proposal to the announced
feedback address of the W3C than to post a question on it to a Usenet group?
Maybe someone at the W3C will do something if you mail them, maybe not; but
at least you would have made a real try.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  #9  
Old August 10th, 2006, 11:15 PM
Nije Nego
Guest
 
Posts: n/a
Default Re: validator warning

On Fri, 11 Aug 2006 00:22:53 +0300, Jukka K. Korpela wrote:
Quote:
Nije Nego" <"nije\"nego <"nije\"nego"@net.hrscripsit:
>
Quote:
Quote:
>> The validator apparently does not test for zero values when it
>>scans for uniform length units. You could send a query to the W3C
>>asking about this (email link at bottom of Validation page).
>>
>That would most certainly be a vaste of time.
>
So you think it would more futile to send your proposal to the announced
feedback address of the W3C than to post a question on it to a Usenet group?
Maybe someone at the W3C will do something if you mail them, maybe not; but
at least you would have made a real try.
I find usenet much more helpfull, even in a read only mode, since there is
more knowledge here there anywhere else.
Yours included.

--
buy, bought, bye
  #10  
Old August 10th, 2006, 11:55 PM
Toby Inkster
Guest
 
Posts: n/a
Default Re: validator warning

Nije Nego wrote:
Quote:
Jim Moe wrote:
>
Quote:
>BTW: The spelling on the site is rather poor, for example, "Tablelles"
>should be "Table-less."
>
Using google Tableless (2.660.000) wins over Table-less (2.570.000).
But only 224 for "Tablelles".

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

  #11  
Old August 11th, 2006, 04:05 PM
Nije Nego
Guest
 
Posts: n/a
Default Re: validator warning

On Thu, 10 Aug 2006 23:27:01 +0100, Toby Inkster wrote:
Quote:
Nije Nego wrote:
Quote:
>Jim Moe wrote:
>>
Quote:
>>BTW: The spelling on the site is rather poor, for example, "Tablelles"
>>should be "Table-less."
>>
>Using google Tableless (2.660.000) wins over Table-less (2.570.000).
>
But only 224 for "Tablelles".
Noted and changed. Thanks.

--
buy, bought, bye
 

Bookmarks

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles