View Single Post
Old 12-16-2019, 07:51 AM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
My first impression is that conditionals are not supported under Sigil regex...but I have to admit, my regex-fu is not that strong... I'll be interest to see what the true experts have to say.

I would recommend not using styles within your html, you should use CSS files instead. <span style="font-size: 1.0em">XXXXX</span> is pure bloat.

"Structure in the HTML and style in the CSS"

Code:
CSS:
p        {font-size:1em}
p.double {font-size:2em}

HTML:
<p>Normal paragraph.</p>
<p>Normal paragraph.</p>
<p>Normal paragraph.</p>
<p class="double">Double font-size paragraph.</p>
<p>Normal paragraph.</p>
<p>Normal paragraph.</p>
Turtle91 is offline   Reply With Quote