Forums / Templates, Stylesheets, Page Layout / Validating my Stylesheet - Help

Validating my Stylesheet - Help

Locked

Started by defkiss on 1 Apr 2007, 7:48 AM · Views: 1,313

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
1 Apr 2007, 7:48 AM
#1
defkiss avatar

defkiss

New Zenner

Join Date:
Mar 2007
Posts:
18
Plugin Contributions:
0

Validating my Stylesheet - Help

Hi everyone,

My HTML has validated no problem but I still have 4 errors in my stylesheet that I really want to correct but don't know how. All the errors are the same thing and are on lines: 63, 64, 129, 130 - the error being...

Value Error: width Parse Error

I don't understand what this means! I know parsing is about seperating pages into blocks or something like that but I have checked all my width rules and can't find anything wrong.

my stylesheet can be found here...

http://www.the-vstore.com/includes/templates/v_template/css/stylesheet.css

Im using version 1.3.7

Thanks in advance for any help

Dan

"The Air Force pinned a medal on me for killing a man and discharged me for making love to one." - Leonard Matlovich

2 Apr 2007, 3:23 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Validating my Stylesheet - Help

Line 63 is in red

h1, h2, h3, h4, h5, h6 {
	margin: 0.3em 0;
	}

Change it to

h1, h2, h3, h4, h5, h6 {
	margin: 0.3em 0em;
	}

and see if that helps. It should correct the errors you're getting on lines 63 and 64.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

2 Apr 2007, 8:24 AM
#3
defkiss avatar

defkiss

New Zenner

Join Date:
Mar 2007
Posts:
18
Plugin Contributions:
0

Re: Validating my Stylesheet - Help

hi thanks for the help,

i corrected the above error but I'm still getting the same errors when I validate!

Dan

"The Air Force pinned a medal on me for killing a man and discharged me for making love to one." - Leonard Matlovich

2 Apr 2007, 12:34 PM
#4
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Validating my Stylesheet - Help

Sorry Mary Ellen, but you do not need to add a unit of measurement when the quantity is zero.

And when I checked that stylesheet -- both by pasting it in and by setting the URL -- at the W3C CSS validator, it validated with absolutely no erros.

Rob

Breakfast: the most important donut of the day.

2 Apr 2007, 12:54 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Validating my Stylesheet - Help

I've found that some errors can be displayed when no unit of measurement is used even if the value is 0. It may depend on the validator (too strict). I didn't see anything else that could possibly be wrong in that section and didn't see any errors on the other lines he's getting the error on.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

2 Apr 2007, 4:26 PM
#6
defkiss avatar

defkiss

New Zenner

Join Date:
Mar 2007
Posts:
18
Plugin Contributions:
0

Re: Validating my Stylesheet - Help

woohoo!

I'm so silly, I had been only typing in my URL into the CSS validator. when i typed in the exact path to the stylesheet it validated as Rob said.

thankyou both for your help and sorry if i wasted your time lol!

Dan

"The Air Force pinned a medal on me for killing a man and discharged me for making love to one." - Leonard Matlovich

2 Apr 2007, 4:29 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Validating my Stylesheet - Help

Oh... I've done that. :yuck:

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey