center table cell content css





In HTML5 websites centering and borders are done differently than in HTML 4.01. The HTML code is similar, but more css is used.HTML 4.01 one cell centered table (older code) Use the following code for a 500 pixel wide centered table with centered contents We have not found a browser or browser version (v5 and later) that breaks it and it even leaves the contents of the Table cells left aligned.