Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
列ヘッダーと本文のフォント サイズを p:datatable よりも小さくすることは可能でしょうか?
cssでこれを行う方法がわかりません。
これを試して、
以下のスタイルを p:dataTable に適用します
style="font-size:8px;"
(また)
styleclass をオーバーライドします。font-size のデフォルト値は 12px です。
<style> .ui-widget { font-size: 8px; } </style>
参考:http ://www.w3.org/TR/CSS2/cascade.html#important-rules