07-19-2018, 11:58 AM | #1 |
Addict
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
|
using initial in stylesheet
If I use "initial" in a stylesheet, e.g. "text-align: initial;" it's flagged in the editor as an error.
But I think this should be OK? Or am I misunderstanding something?? |
07-19-2018, 12:37 PM | #2 |
Bibliophagist
Posts: 35,770
Karma: 145624992
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
As far as I recall, initial sets a property to it's default value and was defined in CSS3. If you are editing an epub2, this would not be defined since epub2 uses CSS2.0.1 (again going by memory).
|
Advert | |
|
07-19-2018, 01:15 PM | #3 | |
Addict
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
|
Quote:
I’ll check it out Edited to add: yes you are right css3 Sorry Last edited by Stevex; 07-19-2018 at 01:18 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
stylesheet help | arethusa | ePub | 6 | 07-02-2013 12:03 PM |
How NOT to use a stylesheet? | karyan | Sigil | 12 | 03-07-2012 12:43 PM |
Touch Initial Charge? | Mercador | Kobo Reader | 6 | 07-20-2011 10:32 AM |
asking for initial info | mor | PocketBook Developer's Corner | 1 | 07-01-2011 01:03 PM |
DX - Initial Observations | poohbear_nc | Amazon Kindle | 39 | 06-13-2009 08:53 PM |