By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,199 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

CSS error - help!

P: n/a
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
Share this Question
Share on Google+
8 Replies


P: n/a
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

P: n/a


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

P: n/a
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

P: n/a
* 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

P: n/a
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

P: n/a
* 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

P: n/a


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

P: n/a
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.