View Single Post
Old 04-23-2013, 11:01 AM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,137
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by grannyGrumpy View Post
@rhino79: I think it is because ADE does not honor auto-margins, and sets them to zero.

The paragraph method that Toxaris suggested works to keep the image centered, but if you want a div --
Since you are setting a width anyway, try setting a specific margin, such as this:
Code:
div.centered {
width: 75%;
margin-left: 12.5%;
margin-right: 12.5%;
text-align: center;
text-indent: 0;
}
(I always add the zero indent to make sure nothing causes the contents to be indented and thus display off-center)


If you WANT it, define it.
theducks is offline   Reply With Quote