View Single Post
Old 07-26-2022, 09:42 AM   #1
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 779
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
Point of "<br class="calibre1"/>"?

In almost every epub that I play with, I see things like:
Code:
<br class="calibre1"/>
Of course, I see it with classes other than calibre1. But, what's the point? Is the class merely to set the size of the break inserted? In the case of calibre1, though it's invariably got the underlying css of:
Code:
.calibre1 {
  display: block;
}
So, in that case, what's the difference between <br/> and <br class="calibre1"/>?

Similarly, I wonder about self-closing <a and <p tags with classes inside them that don't actually DO anything but set an id= . What's the point of the formatting classes inside them?
enuddleyarbl is offline   Reply With Quote