Thread: css question
View Single Post
Old 04-18-2024, 08:48 AM   #4
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,381
Karma: 87013929
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by Brett Merkey View Post
Yes, it is possible to use CSS to insert text into content. Use a pseudo-element.
And which platforms does that work on?
I've never seen it used in actual ebooks.
What happens if Amazon converts the epub?
What does Calibre do on conversion to LRF, PDB, mobi/KF7, azw3/kf8? Logically the css should work like a macro and the conversion have the content text where the class is invoked.

But macros are one of the evil things in C and C++ with sometimes unexpected expansion. Unavoidable in Assembler.
Quoth is offline   Reply With Quote