Thanks John and Ryan - the problem was something to do with the menu
list item styles. It was way down the bottom of the page - I was going
crazy because I thought that error report referred to the body style
(which was at the top of the page). I only realised that must have been
the problem when I noticed the font family for the menu list item was
unneccessarily specified and removed it - after that it validated. I
could have left out a bracket or colon, I don't know, but it worked when
it was gone.
regards,
cameron.
Ryan Christie wrote:
I just checked out your CSS file, and it validates now. Whatever you
did to fix it worked :)
Just to touch base on that font shorthand:
font: [italics/bold/etc] [size]/[line-height] ["family
1"],[fam2],[fam3],[etc];
I haven't experiemented with what can be left in/out and still having
it validate, but i would imagine any element as long as they appear in
the correct order.
John Oxton wrote:
Maybe you could try not using the font shorthand to get it to
validate, try it as font-family etc. Could it be that there is
something missing from that rule? Certainly one I have had problem
with before.
Cameron Muir wrote:
Thanks for pointing that out John - serves me right for not cleaning
out disused styles.
However, I'm still getting the same error.
John Oxton wrote:
Hi Cameron,
You have this
.paymate {
position: relative:
top: 20px;
right: 10px;
}
the position:relative needs a semi colon and you should be on your way
Regards,
John,
Cameron Muir wrote:
Hello,
I can't work out why this is producing an error. I'm sure there
must be a simple solution that I've missed.
body {
font: small "Trebuchet MS", sans-serif;
color: #666666;
}
The error:
URI : http://design.quagma.net/themes/quagma/style.css
* Line: 0 Context : sans-serif
Parse Error - : Trebuchet MS
* Line: 0 Context : sans-serif
Parse Error - sans-serif;
* Line: 0 Context : sans-serif
Parse error - Unrecognized : { }
The site:
http://design.quagma.net
******************************************************
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************