Path

ez projects / paradoxpdf / forum / general / generation of pdf = no css


Generation of PDF = no CSS

You need to be logged in to post messages in the forums. New users may register here.

Dominique LEVERBE

Member since:
14 November 2011

Posts: 1

Monday 05 December 2011 11:31:07 am

Hi all,

Sorry, i'm french, i don't speak english very well.

My problem is, when my PDF is generated, the CSS is not taken care.
On the other hand, if I show the variable $xhtml directly in the navigator, the CSS is ok.

You can help me?
Up

Silke Fox

Member since:
09 January 2008

Posts: 3

Friday 09 December 2011 10:28:09 am

Hi Dominique,

are you using media type media="print" when linking to your stylesheet?
This is what the paradoxpdf extension needs.

Also, if I remember correctly, only linked stylesheets are working, like




<link rel="stylesheet" type="text/css" href="/extension/paradoxpdf/design/standard/stylesheets/stylesheet.css" media="print,screen" />




Up

You need to be logged in to post messages in the forums. New users may register here.