继承人设计 http://vvcap.net/db/OuxLOYioWmjIAavL5N9U.htp
这是一个演示! http://designobvio.us/GoldGrid2/
我试图让一个垂直和水平的 jQuery 脚本在 IE8 上运行:
脚本代码
<script type="text/javascript">
$(document).ready(function(){
$(window).resize(function(){
$('.padder').css({
position:'absolute',
left: ($(window).width()
- $('.padder').outerWidth())/2,
top: ($(window).height()
- $('.padder').outerHeight())/2
});
});
// To initially run the function:
$(window).resize();
});
</script>
关于为什么这个脚本不能在 IE8 中工作的任何想法?