I have do some further tests. This is the content of my original CSS file:

body {background: #EEE; color: #000;
  behavior: url(csshover.htc);} /* WinIE behavior call */
ul.menu1 li.submenu li.submenu {background: url(submenu.gif) 95% 50%
no-repeat;}

1)If I change like this (Just for test):

body {background: #EEE; color: #000;
  background: url(csshover.htc);} /* WinIE behavior call */
ul.menu1 li.submenu li.submenu {background: url(submenu.gif) 95% 50%
no-repeat;}

Then I can see that the htc file is downloaded correctly:
GET /mytest/nested/resources/wicket.examples.nested.MenuPanel/csshover.htc

2)Or if I change like this (Just for test):
body {background: #EEE; color: #000;
  behavior: url(csshover.htc);} /* WinIE behavior call */
ul.menu1 li.submenu li.submenu {background: url(csshover.htc) 95% 50%
no-repeat;}

Then I can also see that the htc file is downloaded corrently:
GET /mytest/nested/resources/wicket.examples.nested.MenuPanel/csshover.htc


So it seesm that only "background:url(...)" in CSS can be processed
correctly while "behavior:url(...)" can not. Is this a bug in Wicket or IE ?

-- 
View this message in context: 
http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a11535609
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to