|
||||||||||||
Web Services Home |
|
CenteringRecently, the W3C (the group that decides on HTML standards) has recommended that when writing HTML, you use <div align="center">centered text</div>. Although div does not work in many older web browsers, it works in virtually all recent versions of popular web browsers. The neat thing about div is that you can align both left and right in addition to center. <div align="center">This text is centered.</div> This text is centered <div align="left">This text is aligned left.</div> This text is aligned left. <div align="right">This text is aligned right.</div> This text is aligned right.
|