Click to See Complete Forum and Search --> : Overflow-y, and alternative font family...


Paul Jr
11-07-2003, 02:55 AM
I went here http://jigsaw.w3.org/css-validator/validator-uri.html to get my CSS Style Sheet validated. Well, it's valid, but I got three warnings:

Line : 0 font-family: You are encouraged to offer a generic family as a last alternative
Line : 0 property overflow-y does not exist for this profile, but is validated conforming to another profile
Line : 0 font-family: You are encouraged to offer a generic family as a last alternative

Now, I don't really understand the whole "generic family" thing, and which font I'm supposed to offer.
I have <h2> set to MS Serif, and the content, <p>, to Georgia, italicized.

property overflow-y does not exist for this profile
What else am I supposed to use? This is a crucial peice of code in my layout. If there is ABSOLUTELY no other way around this, I think I can change, but only as a LAST alternative.

AdamGundry
11-07-2003, 03:58 AM
A generic font family is a font description such as serif or sans-serif, allowing the browser to get the style of font roughly right if the user's system doesn't have the fonts you use installed. Check out the specification: http://www.w3.org/TR/CSS2/fonts.html#generic-font-families

Overflow-y is not technically a valid property, it is a Internet Explorer specific extension to the standard overflow property. The warning is not too much to worry about, but you may need to ensure your pages work in other browsers (such as Mozilla).

Adam

spufi
11-07-2003, 07:33 PM
As said in my other post, overflow-y is CSS 3 which hasn't hit the recommend stage yet, but it does work for IE, as said before because it's an IE thing. I saw it didn't work in Mozilla and I didn't check it in Opera.