Remove all borders from @frame

744 views
Skip to first unread message

sean smith

unread,
May 6, 2014, 8:24:34 AM5/6/14
to xhtm...@googlegroups.com
I would love to be able to use the @page and @frame sections, but I can't seem to get rid of the borders.  I'd like no border at all around my @frame sections.  I've tried removing -pdf-frame-border, "-pdf-frame-border:0", etc. and nothing works.

I found this SO question, which describes my issue - http://stackoverflow.com/questions/23332401/pdf-frame-border-is-broken-xhtml2pdf

I guess I'm wondering if the best solution is to revert or if there are other possibilities.

Lukasz Baczynski

unread,
May 7, 2014, 4:30:10 AM5/7/14
to xhtm...@googlegroups.com
Hi Sean,

Answer the same as for stackoverflow question.

With changes over last months (can't pinpoint the exact commit) you should stop using the -pdf-frame-border and start to simply use "border" with the exact params as in standard css (Docs in the repo need to be updated)

    @frame content{
        border:0;
    }
    @frame footer{
        border: 1pt solid black;
    }

Amin Dandache

unread,
May 8, 2014, 12:53:00 PM5/8/14
to xhtm...@googlegroups.com
Setting borders doesn't work for me either!
All frames have black borders and i can't get rid of them!

chadwick....@gmail.com

unread,
May 9, 2014, 4:47:46 AM5/9/14
to xhtm...@googlegroups.com
Hello,

 There was a bug in Reportlab when using python not 3:


 It was fixed the same day as the report - but you have to pull from the reportlab bitbucket to get the fix or wait for the release.

 If; however, one of you is using a reportlab 2.5 or 2.7 *or* using reportlab 3.1 with python 3.x then perhaps this is a separate issue.

 Finally, this was covered on the github page - which is another place to always look with questions:


 Hope this solves the issue.

--
Chadwick

Op donderdag 8 mei 2014 18:53:00 UTC+2 schreef Amin Dandache:
Reply all
Reply to author
Forward
0 new messages