Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2018, 11:58 AM   #1
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
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??
Stevex is offline   Reply With Quote
Old 07-19-2018, 12:37 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 34,517
Karma: 144552660
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Stevex View Post
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??
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).
DNSB is offline   Reply With Quote
Old 07-19-2018, 01:15 PM   #3
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
Quote:
Originally Posted by DNSB View Post
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).
Aha maybe you are right it’s css3, I thought it was only inherit came in css3.
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.
Stevex is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 10:33 AM.


MobileRead.com is a privately owned, operated and funded community.