English 中文(简体)
• 如何处理“主动”状态的安杰尔边边疆地段航行?
原标题:Horizontal Navigation with Angled Side Borders - How to handle "Active" state?
最佳回答

假设你再使用一只ul子;一只li子;一只菜 structure结构,我将使用两个ang子背景(右边和左边......右边大约为27px,左边大约为22px)。 将左角应用于<代码><li>和右角至<a>。 这将使每个清单项目的背景情况翻一番,因此,你应当利用<代码><li>每一边的负差幅来拉开其兄弟姐妹的重叠。 然后使用z-index来确保对 h进行控制,或强调菜单项目在对方的顶端。 我补充说,双方又增加了30px的婚礼,以便在案文周围创造额外的空间:

li {
    margin-right: -27px;
    margin-left: -22px;
    padding-left: 52px;
    position: relative;
    background: url(leftcorner.jpg) left top no-repeat;
    background-color: #3aa1cc
}

li a {
    padding-right: 57px;
    background: url(rightcorner.jpg) right top
}

li:hover {z-index: 5; background: url(leftcorner-hover.jpg) left top no-repeat}
li:hover a {background: url(rightcorner-hover.jpg) left top no-repeat}

我已经对此进行了测试,但我认为,它应当努力......也许会增加一些 t。

这一解决办法不包括微妙的内层阴影,即你不得不在<代码><li>上使用1px重复级的梯度;然后使用:之前和之后,为两个角落的背景图像提供假肢。

此外,在我的法典中,我有两条缝.(热和 h),但你确实应该使用间谍和背景,这样就没有闪点,而国家形象的 h却在装上。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

Drop down background url in Safari Issue

selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...

CSS specific for Safari

How do you target specifically safari in css with styles?

Aligning textarea in a form

Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

CSS problem with page footer

I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...

热门标签