----- Original Message -----
From: "Tim White" <tjameswh...@gmail.com>
To: <wsg@webstandardsgroup.org>
Sent: Friday, July 02, 2010 6:26 PM
Subject: Re: [WSG] attribute selectors and validation
[big snip]
That said, attribute selectors are very useful.
*******************************************************************
Of course, and it's worth pointing out that:
h1[title^="main"] {color : blue;} , used with:
<h1 title="main heading">Bla Bla Bla Bla Bla Bla</h1>
IS valid. It's not something I'd use though, whereas:
a[title^="opens"] {
padding-right: 13px;
background: url(outofit.gif) no-repeat right top;
}
seems good when used with:
<a href="../sjp.html" title="opens in a new window"
onclick="window.open(this.href); return false;">Bla Bla Bla Bla Bla Bla</a>
Doesn't it? (But not IE6 . . . )
Bob
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************