In XHTML, the only way I can center content and such is using CSS right? Using any align (<p> or <div>) attributes seems to be invalid, and using the <center> tags seems to be invalid, also.
The only way I can do this properly is through CSS?
The views expressed on this page by users and staff are their own, not those of NamePros.
In XHTML, the only way I can center content and such is using CSS right? Using any align (<p> or <div>) attributes seems to be invalid, and using the <center> tags seems to be invalid, also.
The only way I can do this properly is through CSS?
if you wish to center the entire page just put <div align="center"> right after <body> then put </div> right before </body>.
If you wish to just center stuff, you could apply it using CSS via an external linked file... or you could include it in your header. An alternative is to do this: