次の方法を使用して、primefaces panelgrid コンポーネントのすべての境界線を削除します。
最初の1つ:
.table, table td {
border-style: hidden !important;
}
別のもの:
.table, table tr, table td {
border: none !important;
}
ボーダーとボーダースタイルのプロパティの違いは何ですか?
次の方法を使用して、primefaces panelgrid コンポーネントのすべての境界線を削除します。
最初の1つ:
.table, table td {
border-style: hidden !important;
}
別のもの:
.table, table tr, table td {
border: none !important;
}
ボーダーとボーダースタイルのプロパティの違いは何ですか?
border
境界プロパティを設定するための簡略表記です。
詳細はhttp://www.w3.org/TR/css3-background/#the-border-shorthandsを参照してください。
border-style
ボーダーのタイプ (またはスタイル) を定義します: 実線、点線、破線、非表示など。
border
すべてのボーダー属性を 1 つの定義で定義するため、上記のスタイルと、次のような色と幅も含まれます (属性の順序は重要ではありません)。
border: <width> <style> <color>;