Because Target is not part of the XHTML spec.

If you want something that is XHTML compliant, you need to use  
JavaScript. Here is what I use to accomplish the same task.... works  
on javascript enabled browsers or not.

<a href="http://www.google.com"; onclick="window.open 
(this.href,'google','width=800,height=600,toolbar=1,location=1,directori 
es=1,status=1,menubar=1,scrollbars=1,resizable=1'); return  
false;">Google</a>

If you remove the width and height, then it just opens as a default  
size.

-- 
Kevin Murphy
Webmaster: Information and Marketing Services
Western Nevada Community College
www.wncc.edu
775-445-3326


On May 18, 2007, at 9:24 AM, Spellacy, Michael wrote:

> Hi All!
>
> Not really a CSS question so forgive me, but why is target="_blank"  
> not
> valid when using XHTML Strict Doctype? Just curious.
>
> Thanks!
> Spell
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to