It's probably a bug (or intended behavior) if IE. Wicket can't really control the http request the browser makes to get the .htc file.
-Matej On 7/11/07, rc.china <[EMAIL PROTECTED]> wrote: > 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: Re: How to include *.htc files in css files? > > 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 > > ------------------------------------------------------------------------- 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