Jump to content
Sign in to follow this  
LunarMagic

Xhtml And Omittag No

Recommended Posts

Okay, here's the problem: I'm using wordpress now, which is all coded as XHTML transitional. However the templates are mine, coded as HTML transitional. So no matter how I declare the DOCTYPE - XHTML or HTML, it won't validate. When I declare it as XHTML it's hanging up on all my code that doesn't use />, but when I declare it as HTML it's hanging up on all the WP code that USES />.

 

So. Other than completely re-writing half my code (not a fun prospect), is there any way to declare the DOCTYPE to accept the other half? This is juse a personal site, not a business one, so it doesn't have to be perfect and I'm not overly concerned with perfect validation... however... I am currently having problems with non-IE users viewing my site and I suspect it has to do with the validation problems.

Share this post


Link to post
Share on other sites

No, there is not. You have to stick with the standard if you want it to validate.

 

You should use a tool that has global find and replace. I can suggest some for OSX if you use that. I'd suggest going with xHTML, at that.

Share this post


Link to post
Share on other sites

I agree with Lisa: go with XHTML.

 

I also suggest you look at HTML Tidy to convert all your code into XHTML.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...