国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術(shù)文章
文章詳情頁

content_shop無法顯示在瀏覽器端一般什么原因?代碼和你的一樣

瀏覽:138日期:2022-06-22 15:52:46

問題描述

<!DOCTYPE html>

<html>

<head>

<title>小米商城</title>

<meta charset="utf-8">

<link rel="stylesheet" type="text/css" href="static/css/mi.css">

<link rel="stylesheet" type="text/css" href="static/font-awesome/css/font-awesome.min.css">

<link rel="shortcut icon" type="image/x-icon" href="static/img/footlogo.png">

</head>

<body>

<div class="box">

<div class="header"></div>

<div class="content_top">

<div class="content">

<div class="content_menu"></div>

<div class="content_pic"></div>

<div class="content_shop">

<div class="content_shop_1"></div>

<div class="content_shop_2"></div>

<div class="content_shop_3"></div>

<div class="content_shop_4"></div>

</div>

</div>

</div>

<div class="content_bottom"></div>

<div class="footer_top"></div>

<div class="footer_bottom"></div>

</div>

</body>

</html>

css:

*{margin:0px;padding:0px;}

a{text-decoration: none;}

.header{width:100%;height: 40px;background:#333;}

.content_top{width: 100%; margin-bottom: 10px;}

.content_bottom{width: 100%;height:500px;background: #ccc;}

.footer_top{width: 100%;height: 100px;}

.footer_bottom{width: 100%;height:100px;background: #ccc;}

.content{width: 1226px;margin: 0px auto;}

.content_menu{width:1226px;height: 90px;background: pink;margin: 10px auto;}

.content_pic{width:1226px;height: 460px;background: url(../img/mi.jpg);}

.content_shop{width: 1226px;height:170;}

.content_shop_1{width:200px;height: 170;background: #ccc;float:left;margin-right: 10px;}

.content_shop_2{width:316px;height: 170;background: #ccc;float:left;margin-right: 10px;}

.content_shop_3{width:316px;height: 170;background: #ccc;float:left;margin-right: 10px;}

.content_shop_4{width:316px;height: 170;background: #ccc;}

問題解答

回答1:

你在html里寫內(nèi)聯(lián)樣式,不得套個(gè)<style>標(biāo)簽嗎。。。

相關(guān)文章:
主站蜘蛛池模板: 阿拉善左旗| 三门峡市| 克什克腾旗| 潞西市| 县级市| 锡林浩特市| 甘南县| 晋州市| 佛山市| 梧州市| 阿图什市| 鄂伦春自治旗| 苏尼特左旗| 镇赉县| 仪征市| 朝阳区| 罗山县| 克山县| 申扎县| 福清市| 喀什市| 通许县| 成安县| 双辽市| 确山县| 柯坪县| 佳木斯市| 汽车| 奈曼旗| 璧山县| 德昌县| 正定县| 江门市| 北川| 化德县| 中牟县| 张家口市| 新巴尔虎左旗| 神木县| 商丘市| 胶州市|