Author |
Topic |
|
Hasard
Novice
Belgium
1 Posts |
Posted - 05 May 2006 : 12:37:07
|
You use in your CSS file : IMG {behavior : url ("png32.htc");}
The word 'behavior' is not recognized by CSS 1.0, CSS 2.0, CSS 2.1 norm.
How to explain ?
Can you help ?
|
Edited by - Hasard on 05 May 2006 12:43:12 |
|
Martin1
Super User
Netherlands
626 Posts |
Posted - 05 May 2006 : 13:47:50
|
The "behavior" CSS property is not an official CSS property and is only supported by Internet Explorer 5.0+. Netscape, Opera.
Martin |
|
|
Martin1
Super User
Netherlands
626 Posts |
Posted - 05 May 2006 : 13:54:13
|
Seeing as we are talking CSS here are a two other recommendations for Davide.
These are pure recommendations and are not mandatory according to W3C.
It is recommended that a generic font family name be specified as the last font family name. If the preceding font family names are not available then the browser should fall back to the generic font family name. The generic font family names are "serif", "sans-serif", "cursive", "fantasy", and "monospace". (example: {font-family: Verdana, Arial, Helvetica; should be {font-family: Verdana, Arial, Helvetica, serif; end example)
When a foreground color is defined, it is recommended that a background color also be defined (by using the "background" or "background-color" property). This helps to avoid conflict with user-defined style sheets and to improve accessibility. Obviously the same recommendation applies to the background color.
Martin
|
Edited by - Martin1 on 05 May 2006 13:55:39 |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 08 May 2006 : 09:23:40
|
@Hasard
The behavior png32.htc is used only by Internet Explorer and the associated CSS is created only when you use the "png32 support". It is needed in order to use the png32 images.
@Martin For the first point I'm in accord you; the only thing I've to do is to modify the fonts.ini file ;-) For the second point I'm not with you because many times I need only the foreground color and not the background (I don't want to write background:transparent) ;-) |
Regards, Davide |
|
|
|
Topic |
|