View Single Post
Old 05-10-2017, 07:48 PM   #45
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 Notjohn View Post
I make no claim to universality, but this has always worked for me:

div.caption {
margin-bottom: 1em;
text-align:center;
font-style:italic;
}


And then of course something like:

<div class="caption">O how pretty this looks, centered on the page!</div>
NJ, my sweet:

You are assuming that a) the image either fills the page, margin-to-margin, or b) that the image is also centered.

What if the image is floated right or left?

Hitch
Hitch is offline   Reply With Quote