在讨论板栏中居中数据 [英] Centering data in Discussion board column

查看:64
本文介绍了在讨论板栏中居中数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个SharePoint 2013讨论区,两个字段保持对齐。 


- 回复数量


- 数字喜欢


如何将这两个列列中的数字居中对齐?  



谢谢,

解决方案

Tiburon91,


没有OOB方法改变对齐方式。您将需要在IE中使用开发人员工具。


按F12,选择DOM资源管理器标记。使用选择元素按钮或Ctrl + B选择回复和喜欢。它将帮助您找到< div class ="ms-comm-stats"> ...< / div>。


将.ms-comm-stats更改为text-align:center(单击并键入)






最好的问候


Jerry Xu


I have a SharePoint 2013 discussion board and two fields are left aligned. 

- number of replies

- number of likes

How can I center align the numbers in these two List columns?  

Thank you,

解决方案

Hi, Tiburon91,

There is no OOB approach to change the alignment. You will need to use developer tool in IE.

Press F12, select DOM explorer tag. Use the select element button or Ctrl+B to select the replies and likes. It will help you to locate the <div class="ms-comm-stats">…</div>.

Change .ms-comm-stats to text-align:center (click and type)


Best Regards

Jerry Xu


这篇关于在讨论板栏中居中数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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