View Single Post
Old 08-17-2014, 04:42 AM   #18
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Psymon View Post
And what about the aforementioned tables, then? Wrap all those in a "text-align: center" div, too, basically?
No, because tables are a different beast (unlike text and images, which are "inline content"). If you wrap a table in a "text-align: center" div, you will probably just get the text centered inside each cell. For tables I'm afraid you need auto margins to work (it's usually not that bad when your table is pushed to the left instead of centered), or specify a fixed width and matching margins like this:

Code:
width: 68%;
margin-left: 16%;
margin-right: 16%;
(16+68+16 = 100)
Jellby is offline   Reply With Quote