View Single Post
Old 07-20-2018, 04:12 PM   #5
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by AlanHK View Post
Even if I do

td { margin: 4em;}

there is zero effect

So, margins just don't work in tables?
Of course, you can't change the left/right (or top/bottom) margin of a cell because otherwise you would be displacing THE CELL to left or right (and you are in table). What you can do is to set the margin to the contain of the cell; for that reason works what you enclosed between <p> tags. In this last case, you are displacing the "box" inside the cell and not the cell.
RbnJrg is offline   Reply With Quote