![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When I attempt to validate my style sheet using the w3c validator, it tells me that I need a correct document parse tree. The confusing thing is my page validates as XHTML Transitional 1.0. Does anyone have any idea what would cause this to happen? Here's the actual message from the w3c validator: Line: 0 Parse Error - : Mahalo for you help! --a down view |
#3
| |||
| |||
|
|
When I attempt to validate my style sheet using the w3c validator, it tells me that I need a correct document parse tree. |
|
Here's the actual message from the w3c validator: |
#4
| |||
| |||
|
|
downview wrote: When I attempt to validate my style sheet using the w3c validator, it tells me that I need a correct document parse tree. And so you do - does it tell you that you don't have one? Here's the actual message from the w3c validator: That's a different message - but you aren't providing any clue as to what code triggers it. |
#5
| |||
| |||
|
|
Sorry to be so ambiguous, but that's exactly the message. And I quote: To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML. ERRORS * Line: 0 Parse Error - : ______________________________________ ...I'm thinking perhaps there is a bug |
|
but here's the CSS markup to ponder as you requested: * body { o background-image : url(images/side_background.jpg); o margin : 0; o padding : 40px 20px; o font : x-small Georgia, Serif; o text-align : center; o color : #333; o font-size : small; o font-size : small; } |
#6
| |||
| |||
|
|
* body { o background-image : url(images/side_background.jpg); |
#7
| |||
| |||
|
|
downview wrote: * body { o background-image : url(images/side_background.jpg); Bullet marks? Are you perhaps showing us the "Pretty valid CSS" outputted by the validator instead of your original source file which is triggering the error? |
#8
| |||
| |||
|
|
David Dorward <dorward (AT) yahoo (DOT) com> wrote downview wrote: * body { o background-image : url(images/side_background.jpg); Bullet marks? Are you perhaps showing us the "Pretty valid CSS" outputted by the validator instead of your original source file which is triggering the error? I was, actually. Sorry about that. Minus the asterics and bullets, it's the same though. Here goes again. |
#9
| |||
| |||
|
|
On 23 Aug 2004 22:18:15 -0700, downview (AT) gmail (DOT) com (downview) wrote: Sorry to be so ambiguous, but that's exactly the message. And I quote: To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML. ERRORS * Line: 0 Parse Error - : ______________________________________ ...I'm thinking perhaps there is a bug A far fetched idea in your situation... but here's the CSS markup to ponder as you requested: * body { o background-image : url(images/side_background.jpg); o margin : 0; o padding : 40px 20px; o font : x-small Georgia, Serif; o text-align : center; o color : #333; o font-size : small; o font-size : small; } Things like this makes me wonder; what's wrong with all the CSS tutorials out there? How on earth is it possible for someone to be so totally mislead by already available information? In other words; What the heck is that asterisk doing in front of 'body' and why, fer crying out loud, do you have that 'o' character in front of every property:value assignment? Maybe this is just a case of a usenaut that has not read Q&A.6 in the newly revised newsgroup FAQ? |
#10
| |||
| |||
|
|
Getting a little off topic here, but I'll give a couple answers. I'm not supplying the URI because this site is a password-protected page |
|
So if anyone has any idea why every element of my .css page validates except for this single, mysterious parse error: Line: 0 Parse Error - : |
![]() |
| Thread Tools | |
| Display Modes | |
| |