View Single Post
Old 08-12-2013, 01:39 PM   #10
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Yes, that's a pretty common layout use of an empty div. Don't see how it gets you out of using css though - the class "pause" would have to be defined in the stylesheet as something like:

.pause{
padding-top:1em;
}

in order to have any effect - and that's css!

Sure, code it as an empty element, neither FlightCrew, EpubCheck or Kindle Previewer seem to care. If you decide to run Cleanup in Sigil, and it wants it to have a closing tag, no-one except you will ever know. I like minimal code too, but life's too short!
exaltedwombat is offline   Reply With Quote