<!DOCTYPE html>
<html>
<body>
<script>
document.write("可用宽度:" + screen.availWidth);
</script>
</body>
</html>