![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 59106
Join Date: Dec 2014
Device: Kindle for PC
|
css code ignored in conversion
I have just tried to use Calibre for the first time. Many of the CSS instructions were not used in the conversion to EPUB, and so my headings were not bolded or centred. I have attached the valid html sample file, with included css, and the epub output. I did not touch any of the Calibre optios when converting. I am onwhere near what the ordinary html output looks like in a web browser.
Can any help please? Thanks. PS. I had to load the html file as a txt file because the html wasn't accepted. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42,553
Karma: 20170928
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The value of type for the <style> tag in your html file is wrong. You have an extra space after the slash
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 59106
Join Date: Dec 2014
Device: Kindle for PC
|
Thank you very much. Barry
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub code snippets (html / css) | zelda_pinwheel | ePub | 196 | 10-09-2016 04:21 AM |
Please help me with CSS code...am really lost | Iroc | ePub | 21 | 03-31-2013 05:42 PM |
CSS code for different screen sizes? | clemens14 | ePub | 2 | 09-12-2011 07:37 PM |
css override code for margins? | Amalthia | Calibre | 15 | 08-11-2009 07:20 PM |
css override code for <h2> and <h1> tags | Amalthia | Calibre | 2 | 03-29-2009 06:51 PM |