When I center my text in Firefox it outputs:
<div style="text-align: center;">my text</div>
Which is xhtml compliant. Now when I do the same in Internet Explorer 6.0 I get this as output:
<p align="center">my text</p>
This isn't XHTML 1.0 strict compliant!
Is there a way to fix this or is the only solution a regular expression in php ?
<div style="text-align: center;">my text</div>
Which is xhtml compliant. Now when I do the same in Internet Explorer 6.0 I get this as output:
<p align="center">my text</p>
This isn't XHTML 1.0 strict compliant!
Is there a way to fix this or is the only solution a regular expression in php ?