Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default CSS validation error

    Hi,
    I'm getting a CSS validation error when I check my CSS

    Error

    Property behavior doesn't exist : url(includes/csshover.htc) url(includes/csshover.htc)


    Offending Line

    body {
    behavior: url(includes/csshover.htc);
    }


    It's in my /includes/templates/xxxx/css/stylesheet_header_menu.css




    website is www.nortsandones.com.au

    Any clues on how I correct this... ?

    Cheers,
    Mike

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,954
    Plugin Contributions
    96

    Default Re: CSS validation error

    Since the .htc file is just for IE6, I'd suggest getting the Internet Explorer CSS & JS mod (http://www.zen-cart.com/index.php?ma...roducts_id=493) and then placing the 'offending statement' in a new file named ie6_stylesheet.css.

    The file will then only load for IE6 and the rest of your CSS will validate properly.

  3. #3
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: CSS validation error

    Quote Originally Posted by lat9 View Post
    Since the .htc file is just for IE6, I'd suggest getting the Internet Explorer CSS & JS mod (http://www.zen-cart.com/index.php?ma...roducts_id=493) and then placing the 'offending statement' in a new file named ie6_stylesheet.css.

    The file will then only load for IE6 and the rest of your CSS will validate properly.
    Thanks.... I now get the congratulatory message stating my css files are error free.!!

  4. #4
    Join Date
    Feb 2009
    Posts
    166
    Plugin Contributions
    0

    Default Re: CSS validation error

    No, it's not working correctly. Your drop-down menus are disabled when I look at your site in IE6. Both the vertical dropdown and horizontal css flyout menu addons won't function in IE6 unless csshover.htc is loaded. I'm not familiar with the IE6 mod your using, but maybe it just needs a little tweaking.

  5. #5
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: CSS validation error

    Yes, I just noticed errors in IE8. The menus work, but the top level is disabled.. eg click on the home link and it doe snot work, it just creates the drop down, where your first possibility is the new products...

  6. #6
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: CSS validation error

    Quote Originally Posted by slomojojo View Post
    No, it's not working correctly. Your drop-down menus are disabled when I look at your site in IE6. Both the vertical dropdown and horizontal css flyout menu addons won't function in IE6 unless csshover.htc is loaded. I'm not familiar with the IE6 mod your using, but maybe it just needs a little tweaking.
    Putting this line back in the stylesheet_header_menu file corrects the IE issue and header menus..

    body {
    behavior: url(includes/csshover.htc);
    }

    Perhaps the header menu mod has been updated.. I'll wander off and check that out...

 

 

Similar Threads

  1. v150 & Validation Error
    By uncharted in forum Bug Reports
    Replies: 2
    Last Post: 10 Sep 2012, 05:28 PM
  2. Validation Error
    By Wilkesy in forum General Questions
    Replies: 0
    Last Post: 27 Aug 2012, 05:42 PM
  3. CSS Validation Warning
    By need_help in forum General Questions
    Replies: 1
    Last Post: 15 Apr 2009, 11:00 PM
  4. CSS Validation Help?
    By pearlie in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Jul 2008, 07:09 PM
  5. CSS Validation Problem
    By speeke in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Sep 2006, 01:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg