I am trying to create a table where one of the columns has a small 30px image in it, however, I am having a hard time figuring out how to center images/divs that are in other divs, tables, etc...
I am familiar with setting the margin to: "margin:0px auto 0px auto;" however this doesn't always work, and does not work in the example below. I was wondering if someone know of a way to center elements that works more consistantly? Or maybe if there is an explanation as to why my method does not work? The image is only 30px and the td element is 100px or even larger.
<td><a href="#"><img src="images/globe.png" style="width:30px;"></a></td>