[css-d] Two validator parse errors - why ?
Hello all, If we validate this CSS as CSS 3 : http://dev.zoom.org.pt/ You will see that the validator will trow two parse errors. I don't understand what am I missing here; The css related file should be: http://zoom.dev/styles/main.css Any clue about how can we fix those errors ? Thanks in advance, mem __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Two validator parse errors - why ?
2011-12-26 15:29, mem wrote: If we validate this CSS as CSS 3 : http://dev.zoom.org.pt/ You will see that the validator will trow two parse errors. Both error messages are caused by the same syntax error, namely the use of 1. as a line-height value. In CSS, a number that contains a decimal point needs to have at least one digit after the point, so you need to use just 1 or 1.0 or perhaps some other well-formed value. (Setting line-height: 1 usually creates too tight setting.) The css related file should be: http://zoom.dev/styles/main.css That's not the CSS file referenced in the HTML document specified, and zoom.dev doesn't even seem to exist. Yucca __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Two validator parse errors - why ?
On Dec 26, 2011, at 13:58 , Jukka K. Korpela wrote: 2011-12-26 15:29, mem wrote: If we validate this CSS as CSS 3 : http://dev.zoom.org.pt/ You will see that the validator will trow two parse errors. Both error messages are caused by the same syntax error, namely the use of 1. as a line-height value. In CSS, a number that contains a decimal point needs to have at least one digit after the point, so you need to use just 1 or 1.0 or perhaps some other well-formed value. (Setting line-height: 1 usually creates too tight setting.) Thanks a lot for the clarifications. The css related file should be: http://zoom.dev/styles/main.css That's not the CSS file referenced in the HTML document specified, and zoom.dev doesn't even seem to exist. Indeed dev.zoom.org.pt since that address is a local one. Sorry. :( Yucca Thanks a lot. __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/