![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 44
Join Date: Feb 2020
Device: none
|
How to disable CSS property in viewer?
I can't figure out how to disable a CSS property in viewer using the CSS style sheets. I can remove it only with converting in Calibre. For example, if a book has margin-right defined. Things I tried-
margin-right: !important; margin-right:none !important; margin-right:auto !important; margin-right:initial !important; margin-right:inherit !important; |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,341
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
A css rule looks like:
body, p, div { margin-right: 0 !important} |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 44
Join Date: Feb 2020
Device: none
|
Thanks, that works
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
batch modify a CSS property? | roger64 | ePub | 4 | 09-29-2017 05:12 PM |
iPad ePub, CSS : Bug with 'position:relative' property ? | Ereskelios | Apple Devices | 3 | 09-29-2014 07:53 AM |
CSS Font-Weight Property Values??? | soloist66 | Conversion | 8 | 06-16-2013 09:08 PM |
Incorrect line-height property in calibre CSS ? | Bertrand | Calibre | 2 | 06-24-2011 04:15 PM |
Wrong property in the css file | Bertrand | Writer2ePub | 1 | 12-21-2010 05:05 AM |