.msgDiv { display: none; width : 100%; height: auto; border: #f4581b 1px solid; background: #fff; color: #333; filter: progid:DXImageTransform.Microsoft.Shadow(color=#f4581b, direction=120, strength=4); /*ie*/ -moz-box-shadow: 2px 2px 10px #f4581b; /*firefox*/ -webkit-box-shadow: 2px 2px 10px #f4581b; /*safari或chrome*/ box-shadow: 2px 2px 10px #f4581b; width: 100%; /*opera或ie9*/ }
原文地址:http://blog.csdn.net/javaweiming/article/details/40859933