左边菜单右边显示链接内容
发布网友
发布时间:2022-04-23 12:39
我来回答
共1个回答
热心网友
时间:2023-09-22 00:19
这个比较简单,一看就懂,
<style type="text/css">
body{padding:0px;margin:0px;}
.content{
margin:auto;
width:600px;
}
.head{
margin:auto;
width:600px;
height:100px;
background-color: pink;
}
.left{
float:left;
width:200px;
height:200px;
background-color: #fee;
}
.right{
float:left;
width:350px;
height:200px;
margin-left:20px;
background-color: #fde;
}
.left li{
display:none;
list-style:none;
}
.first_content,.second_content,.third_content{
display:none;
}
</style>追问这个列子不懂呀。要放在哪里?我是新手。有个完整的代码吗?加分。谢谢