View Single Post
Old 03-18-2013, 08:35 AM   #1
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Does calibre viewer support @page margins?

I am trying to set device page margins in calibre viewer by using:

@page { margin:6pt !important }

in the User Stylesheet but it has no effect. Am I doing something wrong or is this not supported? I can resort to using body css with 6pt left/right margins, but top/bottom margins on body do not work quite the same as @page since they refer to the document contents rather than the device page.
Agama is offline   Reply With Quote