On 3 Jun 2005, at 4:08 pm, Maren Child wrote:

Can anyone tell me why this does not validate? I don't understand the
message in the css validator:

html { overflow-y: scroll;
}
html { overflow: -moz-scrollbars-vertical;
}

If I put that in, the scrollbar is forced in Firefox so that the floated
navigation box on the right doesn't jump, but I get these messages:
Invalid number : overflow Parse Error - -moz-scrollbars-vertical
and
Line : 6 property overflow-y does not exist for this profile, but is
validated conforming to another profile.

You probably are trying to validate against CSS 2.
the property 'overflow-x' (or '-y') doesn't exist in CSS 2. It is a MS proprietary property. It has however found its way in a CSS 3 module
<http://www.w3.org/TR/css3-box/#the-overflow-x

overflow: -moz-scrollbars-vertical is a gecko only extension, and not part of any CSS rec. (note that soon, you'll be able to use 'overflow-y' in Gecko. it is already supported by nightly builds).

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to