View Single Post
Old 01-22-2015, 07:36 PM   #16
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DiapDealer View Post
Oh, I don't disagree (and I appreciate the knowledge). I just thought something along the lines of; "that might give you problems on iBooks," would have been more appropriate than; "that won't work." 'Cause let's face it ... it will work a great, big chunk of the time.

Ruben's post led me to believe there was something inherently wrong with the code, is all. And I don't believe there is. The text-align css was properly being applied to the block e!ement 'p' (whose text will display inline). The img tag, as a block-level element that's displayed inline should be centered horizontally by any competent browser/epub renderer out there. But if one has to ensure that things display properly on the widest range of devices out there, then by all means... point out the aberant systems, and the special requirements to make them to behave properly.
Agreed. And heavens knows, truth be told, using a centered class on a paragraph is, usually, an easier and more reliable method of getting a damn image to center than doing it the "right" way, which is what Ruben displayed some posts back. Wish it worked MORE often. {sigh}. Problem is--that doesn't always work, either. It's a bugger, all-in. Take that, and the sorta endless issues with what image proportionality, and life is just one big bowl of brown jello.

Hitch
Hitch is offline   Reply With Quote