DIV背景图片定位问题_html/css_WEB-ITnose
程序员文章站
2024-01-04 15:54:10
...
正确写法
.custom-topNavigation_shadow {
width: 1024px;
height: 115px;
background: url('Images/document-block-main.png') repeat-x 0 -380px;
}
IE8或以下不支持的写法,IE9或以上支持,有误的写法
.custom-topNavigation_shadow {
width: 1024px;
height: 115px;
background: url('Images/document-block-main.png') repeat-x top -380px left 0;
}
推荐阅读
-
DIV嵌套DIV问题_html/css_WEB-ITnose
-
精通CSS+DIV网页样式与布局CSS文字效果_html/css_WEB-ITnose
-
div+css小疑问。_html/css_WEB-ITnose
-
求教个问题 html5图片_html/css_WEB-ITnose
-
Codeforces Round #250 (Div. 1)B(排序+并查集)_html/css_WEB-ITnose
-
微信访问页面,莫名其妙刷新两次,火狐、谷歌、ie无问题_html/css_WEB-ITnose
-
关于光标位置的问题_html/css_WEB-ITnose
-
ie6/ie7 css兼容性问题_html/css_WEB-ITnose
-
精心整理的十个必须要知道CSS+DIV技巧_html/css_WEB-ITnose
-
Bootstrap3表单checkbox不能水平对齐问题_html/css_WEB-ITnose