Jump to menu

Vote up?

  1. Kevin Rapley

    @Daniel Skinner the target attribute cannot be used in XHTML Strict, but is perfectly valid for Transitional. If you build in transitional then you can apply the following:

    /* external link with no target=”_blank” specified */

    a[href^=“http:”]:not([target=”_blank”]) { border-bottom: 5px solid blue;

    This happily highlights an external link without a target=”_blank” specified but adding a bottom border in blue allowing

    a[href]:not([title]) { border: 5px solid red;

    to still operate. I really like the rel used alongside dom for Strict markup, I will have to look into this. Thanks.