On Tue, Aug 17, 2010 at 2:42 PM, Erica Cavin <ecav...@verizon.net> wrote:

>
> I use transitional when I want to use have links open in a new window
> with target="blank".  Strict doesn't allow target="blank".  If there's a
> better way to have a link open in a new window under strict I'd prefer
> to use that.


target="blank" doesn't do what you may think - unless that was a typo. You
probably mean target="_blank", which opens in a *new* window. target="blank"
opens the window named "blank" or creates a new window if there is not
already a window named "blank".

You can use the target attribute with a strict doctype by declaring the
attribute like this:

<!DOCTYPE HTML PUBLIC
  "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd";
  [ <!ATTLIST a target CDATA #IMPLIED> ]
>

-Mike
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to