#28060

Any resolution to this? I’m having the exact same problem today.

I’ve had success in the past using the JSP transform tag and it handled all references to CSS perfectly. But now, I’m trying to solve a problem that requires that I perform programmatic conversion of an HTML string in the same manner stated by the original poster and no matter what I try my CSS is ignored.

These are the things that I have tried:

1) Used the pd4ml.addStyle(,true), where was a fully qualified path to the resource. Debugging showed that the css resource was found and brought into the cache, yet the styles were not applied.

2) Used the pd4ml.addStyle(, true), where held all of the styles in my CSS file. Styles were not applied.

3) Included a stylesheet link tag in the head element of my HTML string with a fully qualified path to the CSS resource. Again, debug says that the css was found and brought into the cache, but styles were not applied.

Steph.

Steph.