![]() |
#16 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
@kovid, can't log-in to bug-tracker.
( Oops! Sorry, something just went wrong in Launchpad Login Service. ) For an quick example which shows the problem, in sigil, I created a new file, and all html of first page was : Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> h1 {margin:5em 0;text-align:center;} </style> </head> <body> <h1>Part One</h1> </body> </html> Here's the file that sigil created. |
![]() |
![]() |
![]() |
#17 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah yes, this is caused by a limitation of the webkit column algorithm, for which there isn't an easy fix. Basically, the margin of the first block element bleeds out above the top of the columns. It therefore overlaps with the top margin of the page and gets reduced to zero visually. I dont see how this can be fixed short of fixing it in webkit, which is not something I want to spend the time to do. You could probably hack it by using padding instead of margin on your heading.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
It is only a minor annoyance and not *that* much worth faffing around to find a workaround, but I'll try the padding and see where that leads.
Thanks. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cropping Double-Paged Scans for PDF | Philosopher | 7 | 06-28-2013 04:43 AM | |
E-Book Viewer as standalone viewer | Peter Swallow | Library Management | 3 | 05-15-2011 12:06 PM |
Two-paged Tablet/eReader Combo - A Better Choice for Me? | amybobamy | Which one should I buy? | 10 | 02-07-2011 12:50 AM |
Reference Mode in calibre Viewer | Lady Fitzgerald | Calibre | 2 | 10-12-2010 10:19 AM |
E-book viewer not properly remembering book position | sherman | Calibre | 9 | 02-20-2010 05:12 PM |