Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   Change theme code header from XHTML 1.0 Strict to XHTML 1.0 Transitional? (http://forum.bytesforall.com/showthread.php?t=2489)

Mikii Jul 17, 2009 08:13 AM

Change theme code header from XHTML 1.0 Strict to XHTML 1.0 Transitional?
 
Hi everybody.

I know this sounds absurd, but I would like to change the DOCTYPE header declaration from XHTML 1.0 Strict into XHTML 1.0 Transitional.

Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The reason I am asking this is that I would like to be able to use "new windows" links, but XHTML strict does not allow them. Since I use the site for educational purposes, I'd like it to validate under W3C.

Would such a change cause any problems in your opinion?

And, which file should I edit change the DOCTYPE for all the new pages of the blog?

Thanks for your attention

Flynn Jul 17, 2009 12:39 PM

That shouldn't be a problem, edit header.php

Mikii Jul 19, 2009 11:34 AM

Thanks, works fine.


All times are GMT -6. The time now is 07:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.