文章详情页
为什么背景图无法正常显示
浏览:132日期:2024-05-21 11:37:35
问题描述
css代码:
.header{
width: 1226px;
height: 100px;
margin: 0px auto;
line-height: 90px;
padding-left: 40px;
}
.content{
width: 100%;
height: 580px;
background: url(../img/login.png);
}
html代码:
<div class="content">
<div class="login_content">
<div class="login_form">
</div>
</div>
</div>
问题解答
回答1:上一条:关于演示代码的问题下一条:href src url 三者区别
相关文章:
1. css3 - 手机网页中用css写1px的描边,为什么需要加一句overflow:hidden才能真正显示1px?2. mysql - 一个表和多个表是多对多的关系,该怎么设计3. mysql新建字段时 timestamp NOT NULL DEFAULT ’0000-00-00 00:00:00’ 报错4. python - type函数问题5. php - 第三方支付平台在很短时间内多次异步通知,订单多次确认收款6. Mysql && Redis 并发问题7. javascript - 百度echarts series数据更新问题8. css3 - css before 中文乱码?9. javascript - node服务端渲染的困惑10. css - 求推荐几款好用的移动端页面布局调试工具呢?
排行榜
