View Single Post
Old 12-31-2020, 02:57 PM   #14
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,589
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by Frenzie View Post
.pc-rw will match any element with a pc-rw class. E.g.:
Code:
<p class="pc-rw">
<img alt="I'm matched by .pcrw img! :-D">
</p>
div.pc-rw will only match divs with a pc-rw class.
Code:
<p class="pc-rw">
<img alt="I'm not matched by div.pcrw img! D-:">
</p>
Agreed. My "fix" was using the assumption that Sigil doesn't handle bare classes in combinators. Possibly the css overgeneralized and the pc-rw was only used on divs, but otherwise it's not a good solution.

Last edited by hobnail; 12-31-2020 at 03:00 PM.
hobnail is offline   Reply With Quote