摘要:
获取各种屏幕的宽度和高度Javascript: 网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: docum 阅读全文
摘要:
左右auto加个宽度。margin-left: auto; margin-right: auto; width:640px; 阅读全文