View Single Post
Old 04-28-2015, 08:47 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,695
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Notjohn View Post
I'm interested in the italics following the paragraph class. Does Sigil create a new class for such combinations, in your experience? It seems normal coding to me, but in my experience it gets overridden.
In my experience, a new class is only created when 1) the italic/bold tag encompasses the entire contents of the parent block-level tag (in this case <p>) and 2) when the Clean Source preference is is set to HTML Tidy.

If you set the Clean Source setting to Pretty Print only, no new css classes will be created. Likewise; if you leave HTML Tidy enabled, no classes will be created if the italic/bold tags only encompass portions of the parent block-level tag's content.

In short: if you don't want Sigil to create classes, then switch to pretty-print only (Clean Source).
DiapDealer is online now   Reply With Quote