Chạy Thử Css Bố cục cho thẻ DIV
Chạy Thử Css Bố cục cho thẻ DIV
Chạy Thử Css Bố cục cho thẻ DIV
Tự code rồi chạy thử...
Chạy Thử
<!DOCTYPE html>
<html>
<head>
<title>Chạy Thử Css Bố cục cho thẻ DIV</title>
<style>
#header{width:100%;float:left;height:auto;min-height:30px;bacground:red;color:#fff;margin-bottom:10px}
#khungchinh1{width:100%;float:left;height:auto;margin-bottom:10px}
#ktrai{width:49%;float:left;height:100px;background:green;color:#fff}
#kphai{width:49%;float:right;height:100px;background:green;color:#fff}
#footer{width:100%;height:auto;min-height:30px;background:black;color:#fff}
</style>
</head>
<body>
<h1>Chạy Thử Css Bố cục cho thẻ DIV</h1>
<div id="header">Header</div>
<div id="khungchinh1">
<div id="ktrai">Khung Trái</div>
<div id="kphai">Khung Phải</div>
</div>
<div id="footer">Footer</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Chạy Thử Css Bố cục cho thẻ DIV</title>
<style>
#header{width:100%;float:left;height:auto;min-height:30px;bacground:red;color:#fff;margin-bottom:10px}
#khungchinh1{width:100%;float:left;height:auto;margin-bottom:10px}
#ktrai{width:49%;float:left;height:100px;background:green;color:#fff}
#kphai{width:49%;float:right;height:100px;background:green;color:#fff}
#footer{width:100%;height:auto;min-height:30px;background:black;color:#fff}
</style>
</head>
<body>
<h1>Chạy Thử Css Bố cục cho thẻ DIV</h1>
<div id="header">Header</div>
<div id="khungchinh1">
<div id="ktrai">Khung Trái</div>
<div id="kphai">Khung Phải</div>
</div>
<div id="footer">Footer</div>
</body>
</html>
Chạy Thử Css Bố cục cho thẻ DIV nằm trong bài viết Thẻ DIV trong HTML