我尝试在Confluence wiki标记中更改列宽,但我不明白为什么它不起作用。我有这样的东西:
{table-plus:columnTypes=S,-,.|autoNumber=true|sortColumn=3
|columnAttributes=,,style="background:yellow; font-size:14pt;"}
|| Name || Phone || TCP ||
| John | 555-1234 | 192.168.1.10 |
| Mary | 555-2134 | 192.168.1.12 |
| Bob | 555-4527 | 192.168.1.9 |
{table-plus}我知道"columnAttributes“属性将CSS添加到单元格(根据此link),但在Confluence3.5中它在我的例子中不起作用。
发布于 2012-10-09 02:42:29
下面是设置每列宽度的语法,为了可读性进行了格式化。(请记住,宏不能包含空格。):
{table-plus:columnTypes=S,-,.
|autoNumber=true|sortColumn=3|width=100%
|columnAttributes=
style="background:yellow;font-size:14pt;style=width:33%",
style="background:yellow;font-size:14pt;style=width:33%",
style="background:yellow;font-size:14pt;style=width:33%"
}
|| Name || Phone || TCP ||
| John | 555-1234 | 192.168.1.10 |
| Mary | 555-2134 | 192.168.1.12 |
| Bob | 555-4527 | 192.168.1.9 |
{table-plus}这会产生以下结果:

发布于 2012-08-31 04:53:46
使用表加宏,如your link中所述
{table-plus:width=100%|columnAttributes=style=width:33%, style=width:33%, style=width:33%}https://stackoverflow.com/questions/9079926
复制相似问题