SharePoint列表交替的行颜色 [英] SharePoint list alternating row color

查看:91
本文介绍了SharePoint列表交替的行颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SharePoint 2016 Online.有一个背景图片. SharePoint列表样式设置为阴影". 在SharePoint列表中,图像背景仍然可见.如何更改/设置SharePoint列表的交替行颜色,以使SharePoint列表看不到背景图像?

在SharePoint 2013中可能吗?

解决方案

tmtl7,

您可以使用CSS用交替的颜色更新SharePoint列表视图中项目的显示.

在页面中添加内容编辑Web部件,在其中添加以下CSS代码:

< style type =" text/css">
.ms-listviewtable>身体tr {
背景:白色;
}

.ms-listviewtable>身体tr td {
border-bottom:1px点点黑色! }

.ms-listviewtable>身体tr.ms-alternating {
背景:浅灰色
}
</style> 

请参阅以下文章:

I'm using SharePoint 2016 Online. There's a background image. The SharePoint list style is set to Shaded. The image background is still visible with the SharePoint list. How do you change/set the alternating row color for a SharePoint list so that the background image isn't visible for the SharePoint list?

Is this possible in SharePoint 2013?

Hi tmtl7,

You can use CSS to update display of items in SharePoint List View with alternating color.

Add a content edit web part in the page, add the following css code in it:

<style type="text/css">
.ms-listviewtable > tbody > tr {
background: white;
}

.ms-listviewtable > tbody > tr td{
border-bottom: 1px dotted black !important; }

.ms-listviewtable > tbody > tr.ms-alternating {
background: lightgrey
}
</style>

Refer to the following article:

https://reshmeeauckloo.wordpress.com/2016/01/27/css-to-update-display-of-items-in-sharepoint-list-view-with-alternating-colour/

Best Regards,

Lisa Chen


这篇关于SharePoint列表交替的行颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆