Add CSS Borders to a datatables
Add CSS Borders to a datatables
michaeljeru
Posts: 5Questions: 0Answers: 0
Hi everyone,
i have a datatable looking great, but when I print it (in greyscale), without the colors of the lines, and as there is no borders, it's not easy to read...
So, what I'd like to do id to add css borders to the columns and rows of the table.
Thanks for your help.
i have a datatable looking great, but when I print it (in greyscale), without the colors of the lines, and as there is no borders, it's not easy to read...
So, what I'd like to do id to add css borders to the columns and rows of the table.
Thanks for your help.
This discussion has been closed.
Replies
I didn't know about the media rule, and by the way, I just discovered the aural property and the audio style sheet ! Impressive.
thank you
NB : as an example for users, I put an extract of the css code :
this is a part of my css sheet main.css.
[code]
@media print {
.printBorder {
border-width:1px;
border-style:solid;
border-color:black;
}
}
[/code]