Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

line-height: empty string
 

Stan Brown




quote this post edit post

IP Loged report this post

Old Post  09-24-05 - 12:40 AM  
My CSS file validates with one error message. I've stared at the
line in question, and I just can't see what's wrong. Could someone
maybe point out what I'm missing? Thanks very much!

validator:
> http://jigsaw.w3.org/css-validator/...=2&profile=css2
error message:
>    * Line: 352 Context : div.clear
>      Invalid number : line-height Parse Error - [empty string]
css file:
> http://oakroadsystems.com/screen.css

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator:      http://validator.w3.org/
CSS 2.1 spec:   http://www.w3.org/TR/CSS21/
validator:      http://jigsaw.w3.org/css-validator/
Why We Won't Help You:

http://diveintomark.org/archives/20...e_wont_help_you


Post Follow-Up to this message ]
Re: line-height: empty string
 

Els




quote this post edit post

IP Loged report this post

Old Post  09-24-05 - 12:40 AM  
Stan Brown wrote:

> My CSS file validates with one error message. I've stared at the
> line in question, and I just can't see what's wrong. Could someone
> maybe point out what I'm missing? Thanks very much!
>
> validator: 
> error message: 
> css file: 

I don't know why the validator insists on it, but if you just make it
0px, it passes validation.

--
Els                     http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Various - Skibby [Ft. King Lover] - Feel My Riddim


Post Follow-Up to this message ]
Re: line-height: empty string
 

Jan Roland Eriksson




quote this post edit post

IP Loged report this post

Old Post  09-24-05 - 12:40 AM  
On Fri, 23 Sep 2005 10:23:56 -0400, Stan Brown
<the_stan_brown@fastmail.fm> wrote:

>My CSS file validates with one error message. I've stared at the
>line in question, and I just can't see what's wrong.

>validator: 
>error message: 
>css file: 

My guess is that this is a bug in the checking system.

It looks like it is programmed to check if 'line-height' is being
assigned a value "greater than zero" instead of "greater than or equal
to zero".

Negative numbers are not valid for 'line-height' but a value of zero
does not have a sign and so can not be seen as "negative".

--
Rex




Post Follow-Up to this message ]
Re: line-height: empty string
 

Stan Brown




quote this post edit post

IP Loged report this post

Old Post  09-24-05 - 12:40 AM  
On Fri, 23 Sep 2005 10:23:56 -0400 in
comp.infosystems.www.authoring.stylesheets, Stan Brown favored us
with...
> My CSS file validates with one error message. I've stared at the
> line in question, and I just can't see what's wrong. Could someone
> maybe point out what I'm missing? Thanks very much!
>
> validator: 
> error message: 
> css file: 

Fast work from Els and JRE -- thanks!

Summary: JRE said it looks like a bug, checking > instead of >=;
Els said that a workaround is to put 0px instead of 0. I've done
that and now my style sheet verifies with no warnings or errors.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator:      http://validator.w3.org/
CSS 2.1 spec:   http://www.w3.org/TR/CSS21/
validator:      http://jigsaw.w3.org/css-validator/
Why We Won't Help You:

http://diveintomark.org/archives/20...e_wont_help_you


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 06:15 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top