小编Sco*_*ott的帖子

当屏幕分辨率发生变化时,如何让我的网站自动调整大小?

当我使用我的网站的分辨率不是1920x1080它放大,所以我必须左右滚动查看完整的内容.如何使网站调整大小以适应分辨率并正确显示.

<!DOCTYPE html>
<html lang="en"><head>
    <meta charset="utf-8">
    <meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)">
    <meta name="dcterms.created" content="Fri, 24 Oct 2014 20:29:09 GMT">
    <meta name="viewport" content="width=device-width">
    <meta name="description" content="The villages of East and West Runton are situated between Sheringham and Cromer on the North Norfolk Coast, UK">
    <meta name="keywords" content="East Runton, West Runton, Sheringham, Cromer, North Norfolk Coast,UK, Village, England, Parish Council">
    <title>Home</title>
 <style>

body {
width: auto;
min-width: 10240px;
height:100%;
margin-left: 0 auto;
margin-right: 0  auto;
display: block;
}
</style>

    <!--[if …
Run Code Online (Sandbox Code Playgroud)

css resolution

2
推荐指数
1
解决办法
3万
查看次数

标签 统计

css ×1

resolution ×1