views:

19

answers:

2

I get into a problem... i use for all the sponsor link on the site a target="_blank" wich is an option that you can select into the WYSIWYG editor of wordpress (no hack)

So if this option IS availible, why it dont validate...

and if to validate you have to be in non strict mode why the strick mode is define ?

i know there is a javascript hack.. but i dont what to go that way !....

solution anybody ?

A: 

That fragment seems to validate as HTML 4.01 Transitional and HTML 5. Validation is nothing without a doctype, what's yours?

Adam Backstrom
a simple show source show me : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">...it's really limitating, but it's wordpress choice !
marc-andre menard
A: 

After much research... i go with the have... instead of using target="_blank" i use a class="external" and use javascript to change all class to target blank... it validate and work fine...

marc-andre menard