www.webdeveloper.com
Results 1 to 8 of 8

Thread: valid css using an htc

  1. #1
    Join Date
    Oct 2003
    Posts
    235

    valid css using an htc

    I'm getting:

    Line: 0 Context : li
    Property behavior doesn't exist : url(/styles/IEFixes.htc)

    while trying to validate my css. Is there a known issue with htcs that won't allow validation success?

  2. #2
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,773

  3. #3
    Join Date
    Oct 2003
    Posts
    235
    li {
    behavior: url('/styles/IEFixes.htc');
    }

    all other css is valid and html has passed xhtml strict.

    note: I've tried single quotes, double quotes and no quotes all with the same outcome.

  4. #4
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,773
    Behavior extensions in CSS seem to be a part of the working draft for CSS 3.0. Try validating your CSS file as CSS 3.0 and see if it passes then. The default CSS version at the W3 site is CSS 2.0, which does not have CSS behaviors.

  5. #5
    Join Date
    Oct 2003
    Posts
    235
    you had me excited but nope, same thing:


    Line: 0 Context : li
    Property behavior doesn't exist : url(/styles/IEFixes.htc)

    again tried url arguement with all flavors of quotes.

  6. #6
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    This was Vladdy's brain child, yes? Well, even if it wasn't, you could PM him, 'cause he knows all about this, since he implements it in his pure CSS menu.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  7. #7
    Join Date
    Nov 2002
    Location
    Nashua, NH
    Posts
    3,195
    behavior, being IE-only feature, does invalidate CSS. I gave a reason why I do not find it important in the last post of this thread:
    http://forums.webdeveloper.com/showt...threadid=29193
    Vladdy

    Working web site is not the one that looks the same in a few graphical browsers, but the one that adequately delivers its content to any device accessing it.

  8. #8
    Join Date
    Feb 2004
    Location
    Middlesbrough Country: England
    Posts
    150
    This is a CSS Level 3 recommendation and if you try to validate the CSS make sure you are validating with the CSS Level 3 profile.

    This was actually mentioned in CSS Level 2 but never became a recommendation.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles