467,114 Members | 1,310 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,114 developers. It's quick & easy.

CSS error - help!

I'm confused as to why I'm getting this CSS error at the validator:

http://jigsaw.w3.org/css-validator/v...oral.org.uk%2F

Any ideas? I can't see anything wrong with the style sheet

http://billericaychoral.org.uk/main

Thanks for any input!

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #1
  • viewed: 1933
Share:
8 Replies
Mark Tranchant wrote:
I'm confused as to why I'm getting this CSS error at the validator:
http://jigsaw.w3.org/css-validator/v...oral.org.uk%2F
Any ideas? I can't see anything wrong with the style sheet
http://billericaychoral.org.uk/main

[snip]

I just copied your entire stylesheet into one of my own, uploaded it, and
attempted to validate it at W3C. I got:

No error or warning found
Congratulations!
This document validates as CSS!

The content of your stylesheet appears, as you believe, to be valid. The
warning/error appears to arise elsewhere. Yet your XHTML validates too.

(ps: nice clean attractive page).

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #2


Mark Tranchant wrote:
I'm confused as to why I'm getting this CSS error at the validator:

http://jigsaw.w3.org/css-validator/v...oral.org.uk%2F

Any ideas? I can't see anything wrong with the style sheet

http://billericaychoral.org.uk/main

Thanks for any input!


I guess you get the error, when you don't submit direct to the css
file (just http://billericaychoral.org.uk/ was submitted). When I
submitted the css link as http://billericaychoral.org.uk/main
(should't it be main.css ?) there was no errors or warnings. :-)

--
/Arne

---------------------------------------------------------------------
Quote of the month:
Top posting is absolutely insane. In a multi-threaded reply format
with many responses, top posts is as bad as post with leaving out
everything that is responded to. Question in both cases is, what is
the poster replying to?
---------------------------------------------------------------------
Jul 20 '05 #3
Arne wrote:
I guess you get the error, when you don't submit direct to the css
file (just http://billericaychoral.org.uk/ was submitted). When I
submitted the css link as http://billericaychoral.org.uk/main
(should't it be main.css ?) there was no errors or warnings. :-)


Thanks - this convinces me that the CSS is fine.

http://www.w3.org/Provider/Style/URI - scroll down to "What to leave out".
My server will find the appropriate filetype from the name: it's Apache's
MultiViews.

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #4
* Mark Tranchant wrote in comp.infosystems.www.authoring.stylesheets:
I'm confused as to why I'm getting this CSS error at the validator:

http://jigsaw.w3.org/css-validator/v...oral.org.uk%2F

Any ideas?


This is a bug in the CSS Validator. I've fixed it and once the online
version of the CSS Validator gets updated the error will disappear.
Jul 20 '05 #5
Bjoern Hoehrmann wrote:
* Mark Tranchant wrote in comp.infosystems.www.authoring.stylesheets:
I'm confused as to why I'm getting this CSS error at the validator:

http://jigsaw.w3.org/css-validator/v...oral.org.uk%2F

Any ideas?


This is a bug in the CSS Validator. I've fixed it and once the online
version of the CSS Validator gets updated the error will disappear.


Many thanks. My post to the validator list is now redundant, then. What's
triggering the error?

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #6
* Mark Tranchant wrote in comp.infosystems.www.authoring.stylesheets:
I'm confused as to why I'm getting this CSS error at the validator:

http://jigsaw.w3.org/css-validator/v...oral.org.uk%2F
What's triggering the error?


The media='projection' in the HTML document, see
http://jigsaw.w3.org/css-validator/v...ium=projection
Jul 20 '05 #7


Mark Tranchant wrote:
Arne wrote:

I guess you get the error, when you don't submit direct to the css
file (just http://billericaychoral.org.uk/ was submitted). When I
submitted the css link as http://billericaychoral.org.uk/main
(should't it be main.css ?) there was no errors or warnings. :-)

Thanks - this convinces me that the CSS is fine.

http://www.w3.org/Provider/Style/URI - scroll down to "What to leave out".
My server will find the appropriate filetype from the name: it's Apache's
MultiViews.


Interesting. I hav'nt test it and don't remember seeing it either
before now. When I tested it now, it does'nt work on Apache server I'm
on. Is it common for hosts with Apache to configure the servers so
file extentions can be left out?

--
/Arne

---------------------------------------------------------------------
Quote of the month:
Top posting is absolutely insane. In a multi-threaded reply format
with many responses, top posts is as bad as post with leaving out
everything that is responded to. Question in both cases is, what is
the poster replying to?
---------------------------------------------------------------------
Jul 20 '05 #8
Arne wrote:
http://www.w3.org/Provider/Style/URI - scroll down to "What to leave out".
My server will find the appropriate filetype from the name: it's Apache's
MultiViews.
Interesting. I hav'nt test it and don't remember seeing it either
before now. When I tested it now, it does'nt work on Apache server I'm
on. Is it common for hosts with Apache to configure the servers so
file extentions can be left out?


You need to add "Options MultiViews" to your httpd.conf or .htaccess file.
You also need to be careful not to have files and directories with the same
name (excluding the extension).

I use this extensively at all my sites:

http://tranchant.plus.com/
http://billericaybaptist.net/
http://billericaychoral.org.uk/

You shouldn't find any extensions in URLs on those sites, except to
documents on other servers.

This allows me to move html pages to php, change graphic file formats etc
without updating links or setting up redirection.

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Morten Gulbrandsen | last post: by
6 posts views Thread by Rowan | last post: by
5 posts views Thread by xuatla | last post: by
7 posts views Thread by p | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.