|
|
#1 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Oct 2013
Device: none
|
--extra-css doesn't seem to work
My command line includes:
--extra-css=".calibre2 { margin-left:auto; margin-right:auto; }" But it doesn't seem to be applying. I unzipped and checked stylesheet.css but it isn't there. Any ideas? Last edited by dawood; 10-19-2013 at 09:04 AM. |
|
|
|
|
|
#2 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
|
Did you forget the closing double quote just in the example? or might that be the cause?
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Oct 2013
Device: none
|
No, sorry that was a typo here
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,690
Karma: 28549304
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
extra css applies to the input document, not the output document. .calibre2 does not exist in the input document. http://manual.calibre-ebook.com/conv...html#extra-css
|
|
|
|
|
|
#5 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Oct 2013
Device: none
|
Ah ok. So if I'm converting tmp.html it will run on tmp.css (if I'm referencing that normally in the <head>)?
What I'm trying to do is center all the images, without much luck so far. Alright, seem to have got that now. Last edited by dawood; 10-19-2013 at 10:50 AM. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Justification problem even with extra css | hiperlink | Recipes | 2 | 03-09-2011 09:40 AM |
| The option "--extra-css" doesn't work | slex | Conversion | 2 | 02-19-2011 07:26 AM |
| why doesn't this CSS work? | Barty | Conversion | 1 | 02-09-2011 10:28 PM |
| css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 06:09 PM |
| a few extra css questions | marbs | Recipes | 12 | 11-20-2010 11:15 AM |