PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Nested CSS definitions not rendered
   PostPosted: 24 Aug 2009, 17:13 
Hi,

is it correct that nested CSS definitions like

.tableclass td{
...
}

are not picked up in the output pdf?


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 25 Aug 2009, 19:41 
Pd4ML does support CSS selectors like ".tableclass td". Among the supported CSS selector types are the following:

  • * Universal selector
  • E Type selectors
  • E F Descendant selectors
  • E > F Child selectors
  • E:first-child The :first-child pseudo-class
  • E + F Adjacent selectors
  • E[foo] Attribute selectors
  • E[foo="warning"] Attribute selectors

If for some reason it does not work for you, I would check if CSS properties (in your message they are substituted with "...") are supported by PD4ML. See the list of supported CSS properties: http://pd4ml.com/css.htm


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 25 Nov 2009, 00:36 
I am trying to use adjacent selectors to size columns in a datatable. td+td works for me, but the third column, td+td+td doesn't -I just get the td+td CSS. It displays fine in FF & IE. Is this an issue or am I doing something wrong?
Code:
..datatable_3col {
   width: 100%;
   background-color: #99FFFF;
}
.datatable_3col td, .labels td {
   width:200px;   
   background-color: red;
}
.datatable_3col td+td, .labels td td {
   width:250px;   
   background-color: yellow;
}
.datatable_3col td+td+td, .labels td td td{
   width:270px;   
   background-color: blue;
}


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 01 Dec 2009, 13:52 
From CSS perspective a third table cell still matches TD+TD selector condition. However TD+TD+TD condition should have more weight in the case. We need to analyze that in depth, but it looks like a bug in our code.


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 04 Dec 2009, 18:31 
We fixed the issue with CSS selectors. The updated version are going to be available for download next week.


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 09 Dec 2009, 00:05 
are the updated versions available yet?


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 07 Aug 2010, 02:59 
The beta release is planned for tomorrow (Dec. 11)


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 22 Mar 2011, 11:07 
Quote:
Pd4ML does support CSS selectors like ".tableclass td".

Is this always true with the last version?
Do you have a reason to not include this feature in PD4ML?

Thanks a lot for you answers.


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 22 Mar 2011, 13:58 
We had no reason not to include it, so PD4ML does support the feature.


  Subject: Re: Nested CSS definitions not rendered
   PostPosted: 22 Mar 2011, 15:04 
PD4ML wrote:
We had no reason not to include it, so PD4ML does support the feature.

So it seems to be the same problem that the first post of this topic.
My CSS definition is the following:
Quote:
.ui-datatable .ui-datatable-data-empty td {
border-color:inherit;
border-width: 1px;
border-style: solid;
padding:4px 10px 4px 10px;
}

It seems to be OK with PD4ML but it doesn't work.
If I put the class directly in the HTML element, it works.

Do you have any idea about this issue?
Thanks.
Clemiou



[Reply]     [ 17 posts ]  Go to page 1, 2  Next

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share