Aligning contents in a cell
You can align the contents in a cell, so they look more presentable. To align a cells contents, the ALIGN attribute is used in the TD part of the tag. To centre-align our headings, the code would be this:
CSS Property
Internet Explorer
FireFox
Chrome
Safari
Opera
The other two Horizontal alignment options are “Left” and “Right”.
No comments:
Post a Comment