HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Nested CSS definitions not rendered › Re: Re: Nested CSS definitions not rendered
March 22, 2011 at 14:26
#27476
@PD4ML wrote:
In the HTML I see no any element of class ui-datatable-data-empty, so the selector always returns nothing.
If your concern is about borders of empty cells, it can be solved with
TABLE { empty-cells: show }
I made a mistake. The CSS part is the following:
[language=css:2u9e9msa].ui-datatable .ui-datatable-data td, .ui-datatable .ui-datatable-data-empty td{
border-color:inherit;
border-style:solid;
border-width:1px;
padding: 4px 10px;
}[/language:2u9e9msa]
With this one, it should work.