搜索 | 用户支持

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

详细了解

adding gridlines to sepeate messages - Thunderbird 91.5 (64-bit)

  • 6 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 sfhowes

more options

I was trying to place a dashed line between the email rows by placing

  1. threadTree > treechildren::-moz-tree-row {

border-bottom: 2px dashed #ccc!important; }

in userChrome.css and put it in the 'chrome' folder in the profile folder and it is not working. When I first went to the profile folder the 'chrome' folder did not exist so I created it and then saved the above code in userChrome.css and then started Thunderbird and didn't see the lines between the emails as I was expecting. Should 'chrome' folder have existed when Thunderbird was installed?

Thanks in advance for any help.

bj

I was trying to place a dashed line between the email rows by placing #threadTree > treechildren::-moz-tree-row { border-bottom: 2px dashed #ccc!important; } in userChrome.css and put it in the 'chrome' folder in the profile folder and it is not working. When I first went to the profile folder the 'chrome' folder did not exist so I created it and then saved the above code in userChrome.css and then started Thunderbird and didn't see the lines between the emails as I was expecting. Should 'chrome' folder have existed when Thunderbird was installed? Thanks in advance for any help. bj

所有回复 (6)

more options

Put this on top line: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

The chrome folder is not a default and you were right to create it.

more options

Hi David,

Thanks for the reply, I added that as the top line and still don't see the dashed line between the emails.

This is userChrome.css now:

  @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  #threadTree > treechildren::-moz-tree-row {

border-bottom: 2px dashed #ccc !important;

    }

由bjh于修改

more options

Try changing line to

 treechildren::-moz-tree-cell {
more options

Just before I saw your reply, I googled "File userChrome.css not working for Thunderbird" and found

Newer versions of Thunderbird and Firefox (starting around 2019) disable by default the loading of the 'userChrome.css' file used to configure display preferences. To enable it, you must enable via the Config Editor the setting called toolkit.legacyUserProfileCustomizations.stylesheets.

when I changed that value to TRUE and also made your change and restarted Thunderbird it worked.

Thanks for the help

more options

I'm pleased it worked. And that line beginning with @namespace is not needed. I shared it because it was at top of my own userChrome.css file, but that was needed prior to the current requirement.

more options

Your initial code with moz-tree-row is correct, but the Config. preference was the missing factor.

https://support.mozilla.org/en-US/questions/1363493

includes Zebra striping.