View Single Post
Old 11-17-2014, 06:17 AM   #8
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Jellby View Post
Does your table have a 100% width (on its own, or all columns summed up)? Then it's not surprising that it happens.

You could try wrapping a <div> around the table, putting the 3.2em margin in the <div>, and leaving the table without margins, with 100% width. Otherwise just reduce the table's width and write the margin as a % too.
To answer out of order a bit... no, I hadn't specified any width for the table at all, although indeed the percentages for all the columns did add up to 100%. I would have thought (and expected), though, that the "100%" would take into account whatever the margins were -- apparently not.

And as for changing the margin from ems to %, then I'd lose out on keeping things consistent with my poem and blockquote paragraphs.

However! On a happy note, your solution to wrap the whole table in a div and give that a 3.2em margin seems to have done the trick! At least, in ADE it's worked out fine -- I haven't tried it on the iPad yet, but I'm assuming that it'll come out okay in that.

Thanks so much -- you saved the day once again, Jellby!
Psymon is offline   Reply With Quote