01-11-2010, 12:08 PM | #46 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I tried to read the CSS specification and it was hard to see what is the correct behavior. If @page is not specified is then the margins assumed to be 0. If that is correct I think that the behavior is correct. It seems reasonable that the "top box" is the whole area and @page specifies margin relative to the top box.
|
01-11-2010, 12:51 PM | #47 | |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Also, to override the side margins you have to use a class (or id or something else) in the body element of the book, which is not very nice, it is not enough just to add a CSS style to the unnamed body element. |
|
Advert | |
|
01-11-2010, 04:04 PM | #48 | |
Wizard
Posts: 2,999
Karma: 300001
Join Date: Jan 2007
Location: Citrus Heights, California
Device: TWO Kindle 2s, one each Bookeen Cybook Gen3, Sony PRS-500, Axim X51V
|
Quote:
Derek |
|
01-12-2010, 08:17 AM | #49 |
Fanatic
Posts: 527
Karma: 470
Join Date: Sep 2007
Location: The Netherlands
Device: Kindle Oasis
|
|