Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 CSS behavior ?

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Hasard 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 ?


3   L A T E S T    R E P L I E S    (Newest First)
s.dav 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) ;-)
Martin1 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
Martin1 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

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000