View Single Post
Old 04-17-2014, 04:55 AM   #13
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by odedta View Post
PHP Code:
margin-leftauto;
margin-rightauto
And not:
PHP Code:
text-aligncenter
@JLius: Correct, same result with less code
Nope. Using auto for margin is a sure way to fail. According to the specifications of the ePUB standard auto can be interpreted as 0 and most readers will do so. That is not the result you are aiming for. Text-align: center works fine, but sometimes you must enclose it in an additional <div> for iBooks.
Toxaris is offline   Reply With Quote