开发者

Css help, report link

We are creating our articles page, and the MAIN div contains the article. I have done a fiddle:

http://jsfiddle.net/ozzy/UqwUp/1/

The issue I have ( hover over bottom right corner )

That link only appears if the user hovers over that partic开发者_如何学Goular area. What I want is the link to appear, if they mouse anywhere within the main div.

Its driving me nuts lol.

Any help appreciated.

To Clarify:

UNLESS you hover over the DIV , I dont want the link to be seen at all.


You have the CSS:

#mainPane .reportThisLink a {
    color: #FFFFFF;
    text-decoration: none;
}

Which means the link is there, but in white. Set the color to something else :)


You could just use javascript to catch a :hover event on that div, then make that link show up. That would be the simplest thing to do, but if you don't use a JS framework on your website right now, it could increase page loading times.

Just an idea.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜