Thread: Mysterious html
View Single Post
Old 04-16-2012, 07:47 AM   #17
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by ATDrake View Post
2. That particular div looks superfluous, especially with a height of 0 em and nothing inside. If a div has nothing inside, assume it's cruft and delete.
That can be a dangeous assumption. An "empty div":

Code:
<div></div>
is one method of generating a blank line. Not a particularly good method, because not all Mobi implementations will respect it (a Kindle does, but Kindle for PC does not), but nonetheless a commonly-seen one.
HarryT is offline   Reply With Quote