Div跟随页面大小 自动适应集中

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
        Div跟随页面大小 自动适应集中
    </title>
    <style>
        body {
            padding: 0px;
            margin: 0px;
        }
        .divcss {
            margin:20px;
            padding: 20px;
            border: 1px solid #ccc;
        }
        input {
            margin: 10px;
        }
    </style>
</head>
<body>
    <div class="divcss">
        <input type="button" value="初始化Lucene" id="initLucene" />
        <input type="button" value="清除缓存" id="clearCache" />
    </div>
	<div class="divcss">
    </div>
</body>
</html>

转载请保留 http://www.luofenming.com/show.aspx?id=ART2019121600002

运行效果

评论

  1. 116.236.222.*2019-12-31 09:46:10
    ce