我放了一张图片来通知我的网站正在建设中。这是一个 800x600 的图像,当您在桌面访问时保持其原始大小。这是页面中唯一的内容。
当人们从手机访问它时,我想让它适合整个屏幕。如何?
<style type="text/css">
body { background-color: #6BC5C5; }
</style>
<title>Size is being moved to another server</title>
<div style="margin: 0; padding: 0; left: 0; top: 0; border: 0; position: absolute;">
<img src="movedatacenter.jpg" alt="Under Maintenance" width="595" height="1021" align="left"></div>