View Single Post
Old 06-11-2022, 04:28 PM   #13
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 270
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
It's trying to emulate a setting introduced in CSS4 called:

hyphenate-limit-last
Thanks for the heads up on this addition in CSS4. No doubt, I'll find some application for this in future. But in the case of my friend's 'no-break' class, the name of the style is mis-leading because the whole style in the stylesheet was :

span.no-break { text-decoration:none; }

As far as I've understood, text-decoration applies to underlines, overlines, both or none and the main body paragraph styles had none of these which might require canceling.

Quote:
Another trick I like to do is you can use a simple Search/Replace:

Search: <span class="no-break">
Replace: <span>
Great idea !!
philja is offline   Reply With Quote