使用IE的behavior即可!
使用方法是定义样式:body { behavior:url(”csshover.htc”); }
csshover.htc的代码http://www.xs4all.nl/~peterned/htc/csshover.htc
这个代码不但支持:hover 而且还支持 :active 另外支持上述样式之外还增加了对:focus的支持 !
使用IE的behavior即可!
使用方法是定义样式:body { behavior:url(”csshover.htc”); }
csshover.htc的代码http://www.xs4all.nl/~peterned/htc/csshover.htc
这个代码不但支持:hover 而且还支持 :active 另外支持上述样式之外还增加了对:focus的支持 !