View Single Post
Old 01-11-2013, 07:53 AM   #18
Dillinquent
eBook pro
Dillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toys
 
Dillinquent's Avatar
 
Posts: 65
Karma: 5634
Join Date: Jan 2011
Location: Hertford, UK
Device: PC, iPad, Kindle, Kindle Fire, Galaxy Ace
Quote:
Originally Posted by grannyGrumpy View Post
After being bugged by off-center images, I finally figured it out to add text-indent:0 to stylings for images. I wish it would be that way by default when you use "center", but oh well, live and learn.
It's to do with the the way styles "cascade" - if <p> is set to have an indent then all paragraphs will be indented regardless of their class and you will have to explicitly remove the indent in your style definition if you don't want the indent.
Dillinquent is offline   Reply With Quote