为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can't get borders around thumbnail links using PageStyle > No Style in Firefox 4

  • 6 个回答
  • 3 人有此问题
  • 5 次查看
  • 最后回复者为 cor-el

more options

when a page has thumbnail links to larger pictures I used to use Page Style > No Style to get a border around those thumbnails in the default blue color which would change to the visited red color when I clicked them, making it easy to see which ones I'd already seen. e.g. This page

Now in Firefox 4 choosing No Style doesn't give any border around thumbnail links so I can't tell which ones I've already opened. How can I get the image borders back?

when a page has thumbnail links to larger pictures I used to use Page Style > No Style to get a border around those thumbnails in the default blue color which would change to the visited red color when I clicked them, making it easy to see which ones I'd already seen. e.g. [http://www.missing-lynx.com/library/modern/m88/m88.htm This page] Now in Firefox 4 choosing No Style doesn't give any border around thumbnail links so I can't tell which ones I've already opened. How can I get the image borders back?

所有回复 (6)

more options

Something like this?

@-moz-document domain(www.missing-lynx.com) {
:visited img { outline: 1px solid red !important; }
}
more options

Thanks for the reply. Which file do I insert that into, and would I need to do it for each domain I want?

Also, any idea why it worked in previous versions and not in FF4? Would there be one line to restore it for all sites?

more options

After a bit of googling I figured this must be added to userContent.css, but hasn't made any difference - still no borders.

more options

Do you see that outline after you have visited a link?

If the visited link status doesn't show then check that you keep history and that you do not run Firefox in Private Browsing mode.

  • You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
  • To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting Firefox will: Use custom settings for history
  • Uncheck: [ ] "Permanent Private Browsing mode"

You can use this code for all sites.

:visited img { outline: 1px solid red !important; }


See this for other outline-style examples:

more options

Thanks for the follow up. No I don't get an outline after visiting, and am not in Private mode (no problem with text links showing visited colors), but I've tried some other examples that I found while searching and they don't work either so I must be doing something wrong.

I've just been adding the lines of code to the end of userContent.css on a new line after the last bracket already in the document. Is that right?

I also tried disabling the NoSquint plugin and restarting because it includes custom coloring for links so I thought it might be causing trouble but that didn't help either.

I'm also using the portable version of FF4, would that make any difference?

more options

You can try the Stylish extension to see if that works.