文章详情页
为什么背景图无法正常显示
问题描述
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用less写的,eclipse的jsp文件要修改css很麻烦,怎么解决?2. angular.js - angular js配置路由 编写控制器的时候说跳转页内的数据模型不存在3. android - 新建项目卡在Gradle:Resolvedependencies’:app:_debugCompile’4. javascript - 求一套有关于IP地址的JS正则!5. angular.js - 有没有不需要先git clone xxxx的angular2的教程?6. atom编译器 如何格式化前端代码文件?7. javascript - 关于在angularjs的select中遇到的问题!!8. angular.js - 获取数据后总是要有一段$scope.$apply();这段代码是什么意思呀?9. javascript - 关于Js中 this的一道题10. 移动端页面文字垂直居中兼容性问题
排行榜