View Single Post
Old 04-24-2015, 04:56 PM   #931
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by theducks View Post
I would include any empty (non-text/Image) tag pairs in those locations
IMHO Margins should be used to supply top or bottom whitespace
The problem is that neither <p>&nbsp;</p> nor <p><br/></p> is "empty" - because they contain text - and that's generally what I see used for this purpose. It's another case of "easy for a human to recognize, but hard to automate removal." Factor in that there's usually a class attached to the P element in such cases (especially to force a nonzero height to hack around the fact that the latter example is often - correctly - discarded without being displayed), and this becomes a rabbit hole really fast.
Rev. Bob is offline   Reply With Quote