开发者

tough time battling css. can't get background-color below background image

I've been doing lot of trial and error but now need some help.

Page I'm working on: link

Questions:

Sliding tab content开发者_如何学编程: When I hover the mouse over the three tabs, the div that moves along with the mouse is not getting evenly balanced between the three tab contents. There is a plugin that I used, tabbedcontentslider. I think it is changing the div based on some formula.

Can someone point me in right direction?


I had a quick fiddle with the css and have something which seems to work in Firefox. I think the most important thing is getting the 2 widths the same, and centrally positioning the background image to allow a span of almost double the width.

CSS changes:

.tabs .moving_bg {
    background-position: center bottom ;
    background-repeat: repeat-x ;
    width: 175px ;
}

.tabs .tab_item {
    width: 175px ;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜