猿问

老师,求检查PHP就业班CSS浮动章节4-11的代码

<!DOCTYPE html>

<html>

<head>

<title></title>

<meta charset="utf-8">

<style type="text/css">

.one{float: left;margin: 20px 30px;border: 2px dotted red;}

.box{width: 1000px;}

</style>

</head>

<body>

<div class="box">

<div class="one">

<img src="http://climg.mukewang.com/590fe9770001e63102400135.jpg">

<p>欢迎来到慕课网学习新知识1</p>

</div>

<div class="one">

<img src="http://climg.mukewang.com/590fe97d00011bda02400135.jpg">

<p>欢迎来到慕课网学习新知识2</p>

</div>

<div class="one">

<img src="http://climg.mukewang.com/590fe982000150ba02400135.jpg">

<p>欢迎来到慕课网学习新知识3</p>

</div>

</div>

<div class="box">

<div class="one">

<img src="http://climg.mukewang.com/590fe9770001e63102400135.jpg">

<p>欢迎来到慕课网学习新知识4</p>

</div>

<div class="one">

<img src="http://climg.mukewang.com/590fe97d00011bda02400135.jpg">

<p>欢迎来到慕课网学习新知识5</p>

</div>

<div class="one">

<img src="http://climg.mukewang.com/590fe982000150ba02400135.jpg">

<p>欢迎来到慕课网学习新知识6</p>

</div>

</div>

</body>

</html>


大宝的爸爸
浏览 725回答 0
0回答
随时随地看视频慕课网APP
我要回答