Text-align:center on only images in a table?
Im using a td.Image class that has text-align:center; to center images in a table i have.
It would be nice to not need to add the class on each td that has a image in it, and still be able to have normal align on other data, is this po开发者_StackOverflow社区ssible using only css?
table img {
display: block;
margin: 0 auto;
}
精彩评论