2012-01-31 67 views
1

コンフルエンスwikiマークアップでカラムの幅を変更しようとしましたが、なぜ動作しないのか分かりません。 私は「ColumnAttributesとは」(このlinkによる)細胞にCSSを追加する属性のことを知っているこのコンフルエンスのテーブルプラスマクロのカラム幅を変更するには

{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} 

のようなものを持っていますが、合流3.5で、それは私の場合には、作品ではありません。誰もがこの小さな問題で私を助けることができますか?

+1

+1を。 ) –

+0

Thanx、Yordan ^)) –

+0

http://ysgitdiary.blogspot.com/2012/05/how-to-convert-csv-to-confluence-wiki.html –

答えて

1

用テーブルプラスマクロ、your link

{テーブルプラスに記載されているように:幅= 100%| ColumnAttributesと=スタイル=幅:33%、スタイル=幅:33%、スタイル=幅:33% }

2

各列の幅を設定する構文は、次のとおりです。 (マクロは何の空白文字が含まれていない必要があることを覚えておいてください。):

{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} 

これが生成します。リンクや質問を投稿するための enter image description here

+1

これを読みやすくするためにフォーマットすることができますか? – Linger

関連する問題