开发者

IE and Chrome jQuery and css support issue

开发者 https://www.devze.com 2023-01-15 04:38 出处:网络
I developed little site that use: -webkit-box-shadow: 0px 0px 20px #000; -moz-box-shadow: 0px 0px 20px #000;

I developed little site that use:

    -webkit-box-shadow: 0px 0px 20px #000;
-moz-box-shadow: 0px 0px 20px #000;
box-shadow: 0px 0px 20px #000;

-webkit-border-radius: 10px;
-moz-border-radius: 10p开发者_C百科x;
border-radius: 10px;

for making shadow and radius on boxes. And $(".mainpage").show() Jquery function to show new content qhen user click on some link.

All of this codes work on Firefox normal. But if I use IE , border and radius not works ,and in Chrome calling hidden content not works. Should I delete all this codes for making all browser supports or is there any trick for them?


IE 9+ will support border radius's but until then you'll have to use css tricks for IE


IE doesn't support CSS for rounded corners, however it does support shadows. See http://msdn.microsoft.com/en-us/library/ms533086(VS.85).aspx.

I don't know what you mean with "Chrome calling hidden content not works".

0

精彩评论

暂无评论...
验证码 换一张
取 消