Hi there - just to say that I had to change my doctype from XHMTL strict to
transitional as the target="_blank" did not validate.

If you check an XHML Strict document with the following code, the W3C
Validator shows this error message: 

"Error  Line 5 column 26: there is no attribute "target".
<a href="index.php" target="_blank">index</a>
You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element. This
error is often caused by incorrect use of the "Strict" document type with a
document that uses frames (e.g. you must use the "Transitional" document
type to get the "target" attribute), or by using vendor proprietary
extensions such as "marginheight" (this is usually fixed by using CSS to
achieve the desired effect instead)."

Summary - if you want to use the target function, you need to go for XHMTL
Transitional (or Frameset) for it to validate. Hope this helps to explain!
regards, Edith 

PS: hope this isn't off-topic! 

Jochem Maas wrote: 
'target' is an attribute of an anchor tag; you can still use it
though all attribute values should be quoted i.e.:
<a href="#test" target="_blank">click</a>
not strictly anything to do with CSS (I trying to think
if it's possible to define that certain [classes of] link
should open in a new window using CSS - but I can't)


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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