【发布时间】:2014-04-26 18:19:31
【问题描述】:
我正在努力修复我的导航栏,同时让重复为“repeat-x”。下面是进一步使用 css 时的结果图像。
这是包含在顶部链接(导航栏)中的 css 代码。
.toplinks {
/*float: right;*/
{vb:stylevar right}:{vb:math {vb:stylevar padding}*2};
color:{vb:stylevar toplinks_link_color};
font: {vb:stylevar header_font};
text-align:{vb:stylevar right};
background:{vb:stylevar toplinks_background};
padding-top: 10px;
height: 35px;
background-attachment: scroll;
background-image: url({vb:stylevar imgdir_misc}/top-links-bg.jpg);
background-repeat: repeat-x;
background-position: left top;
background-color: #633f24;
z-index: 20;
position: fixed;
}
导航栏不是我做的,而是我添加了“位置”和“z-index”。我希望该栏使用 repeat-x 穿过页面。
这有可能吗,如果可以,你能帮帮我吗?
【问题讨论】:
-
你能发布你的html吗??
-
一个 jsfiddle 或网站链接会很有用。
-
添加了网站链接。
标签: html css background-image css-position repeat