09-07-2024, 03:38 PM | #16 |
Evangelist
Posts: 450
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
The css with @page also had a body with the same margins (I should have mentioned that). The main css did not contain either of these. Both css files were linked and these were the only two css.
In any event, I wonder why these weren't taken into account in the editor's Live CSS. After all, they were clearly reflected in the preview pane. |
09-07-2024, 08:09 PM | #17 |
Bibliophagist
Posts: 40,573
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
As I mentioned, I think the live CSS is showing you what is happening in the container with the rules that apply within the container while the @page directive is setting the container.
Personally, I dump any @page (and most other @ rules) as part of my initial cleanup of an ebook since @page is intended for print media. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
confused about style inheritance | lumpynose | ePub | 8 | 05-14-2019 11:07 AM |
Showing template-computed columns as [rating] stars isn't possible? | kaoruAngel | Library Management | 2 | 11-06-2017 09:49 AM |
Feature request: new CSS class from computed style | kat7 | Sigil | 23 | 01-02-2015 02:30 PM |
Final Round 3: Calling Sony Style re: PRS-500 Firmware upgrade | AprilHare | Sony Reader | 10 | 12-09-2009 11:02 PM |