![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
ePub margins : @page vs stylesheet.css
I have noticed that the stylesheet.css generated by calibre contains settings for margin-top, -right, -bottom and -left, with -top and -bottom always set to zero. However margin-top and -bottom are set within each html file using @page instead. Is this necessary for ePub files or is it just the way that calibre works? Does it make any difference where these values are specified?
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,006
Karma: 20922490
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No it doesn't make any difference. The reason they are not in stylesheet.css is because individual html files might need different margins and stylesheet.css is common to all.
|
![]() |
![]() |
Advert | |
|
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
userstyle.css and epub margins | tselling | Sony Reader Dev Corner | 8 | 10-28-2010 01:51 PM |
Is there a way to over ride CSS Margins | gandor62 | Calibre | 0 | 09-21-2010 09:40 PM |
How to maintain a global CSS stylesheet | amoroso | Sigil | 7 | 07-18-2010 08:37 PM |
EPub conversion stylesheet.css problem | nycaleksey | Calibre | 1 | 03-25-2010 11:42 PM |
Where is the stylesheet.css? | roger64 | Sigil | 4 | 03-23-2010 02:12 PM |