css显示问题

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title></title>

<style type="text/css">

body{ margin:0; padding:0; font-size:30px; color:#fff}

.main{}

.top{height:100px; background:#ccc}

.left{ width:200px; height:500px; background:blue; }

.right{ margin-left:210px;height:500px; background:#9C9;}

.foot{ height:50px; background:#F63 }

</style>


</head>


<body>

<div class="top">top</div>

<div class="main">

       <div class="right">right</div>

    <div class="left">left</div>

</div>

<div class="foot">foot</div>


</body>

</html>

为什么和图片显示的不一样
http://img.mukewang.com/5645ea4a0001fe0103760393.jpg

ELFgf
浏览 1310回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

CSS3
Html5