3 ms·
Pragmatism wins out of waiting for css properties to get implemented, and div display inline block works today in epubs and doesn't need to be backported to iBo
by fragmede 2y ago
Pragmatism wins out of waiting for css properties to get implemented, and div display inline block works today in epubs and doesn't need to be backported to iBooks.
https://ebooks.stackexchange.com/questions/7014/how-can-i-prevent-a-widowed-orphaned-header https://ebooks.stackexchange.com/questions/7014/how-can-i-pr...
- chrismorgan 2y agoThat's not pragmatism: that's poor judgement. That's a hack that shouldn't work at all; and if it does, it must¹ cause other problems, such as preventing breaks inside the entire first paragraph, or breaking graphically rather than linewise (that is, you could get the top half of one line on one page, and the rest on the next). — ¹ As in, it's unavoidable if you've implemented layout in such a way.
- fragmede 2y agoWhat's the name of this site again?
- justinator 2y agoVC-Influenced-News just doesn't have the same ring to it.
- chrismorgan 2y agoThere are hacks and there are hacks. This is a bad hack, one that might fix a problem, but only by causing a worse problem. On the positive side, on proper clients it will approximately do nothing.
- mjevans 2y agoI thought Div as well, but as a BLOCK element containing the Heading line AND the first paragraph to ensure they're rendered on the same page, or at least start on one and then overflow.