Results 1 to 2 of 2
Oct 2, 2009, 05:38 #1
- Join Date
- Jan 2007
- 0 Post(s)
- 0 Thread(s)
Using WordPress whilst XHTML Strict
I'm new to WordPress, but am a seasoned designer/developer.
I'm playing around with the visual editor and when I highlight text and center align it (again, using the visual editor), it produces the following:
<p style="text-align: center;">My test text</p>
Are you kidding me? Is there something I'm missing here? I'm looking for standard-compliant XHTML (pref strict) and the visual editor only knows how to spit out deprecated style attributes?
If you want to only use XHTML strict markup, what are my options? Can I make the visual editor insert a class attribute in my <p> tag instead of a style attribute? Or do I need to forget about the visual editor completely and do everything by hand in the html editor?
I see all these themes out there claiming their theme is 100% XHTML Strict. Well what good is that if wordpress' editor spits out nothing but deprecated HTML?
I'm honestly looking for advice.. what my options are, what you guys do that want XHTML strict only, and was I asking too much of WP when I installed it? Thanks for any help.
Oct 2, 2009, 08:42 #2