11智能在线
新记
用DIV+css制作 自适应宽度的banner 且banner背景图片两侧色彩不一致?能在各个主流浏览器中兼容。
如题所述
举报该文章
相关建议 2012-02-14
.banner {
width: 80%;
max-width: 1260px;
min-width: 780px;
background:url(images/bgline.gif repeat-y)
margin: 0 auto;
}
bgline.gif做长点比如超过2048px,也就是说背景渐变是靠图片repeat来实现的。
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/8472ffm88.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
网页头部有一个大的banner图片,是在一个div里面嵌套着...
网站背景图和banner图怎样做成自适应?css怎么改?
div+css中banner的背景图如何放入,不是插入,插入...
首页banner宽度全屏显示的问题,div+css
用DIV+CSS布局页面 发现banner图片和 导航图片中...
banner图片css设置问题
banner图片在宽度不是1920xp屏幕下要显示出中间部份...
网页制作中用div+css怎么编辑通栏?比如是(banner...