亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

關于top內容

http://img1.sycdn.imooc.com//5a3266da0001c14319180060.jpg

那個背景圖片死活弄不下來,很苦惱。大概是什么原因呢,感覺代碼沒錯啊。

正在回答

1 回答

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

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

<head>

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

<title>企業網站實例</title>

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

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

</head>

<body>

<div id="container">

<div id="head">

<div id="head1">

<div id="top">

<li><a href="#">聯系我們</a></li>

<li><a href="#">加入收藏</a></li>

<li><a href="#">設為首頁</a></li>

</div>

</div>

<div id="head2"></div>

</div>

<div id="main">

<div id="left"></div>

<div id="zhong"></div>

<div id="right"></div>

</div>

<div id="foot"></div>

</div>

</body>

</html>




* {

padding: 0;

margin: 0;

font-size: 12px;

}

body {

background-color: #F5F5F5;

}

#head1{

width: 100%;

height: 27px;

background: url(../image/top_bg.jpg) repeat-x;

}

#top{

width: 1000px;

? ? margin: 0px auto;

? ? line-height: 27px;

}

#top li

{

list-style:none;

float: right;

background: url(../image/arrow.jpg) no-repeat;

width: 70px;

}


0 回復 有任何疑惑可以回復我~
#1

小南風oo 提問者

html 和css代碼
2017-12-14 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

關于top內容

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號