WebmasterTalk.us
Account Closed
- Impact
- 2
iHosty said:Hello,
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?![]()
element {
text-align: center; /* for aligning text */
}
element {
margin:0 auto; /* to align anything else */
}


