SparceMatrix
Technical User
In my O'Relly CSS Pocket Reference I found a selector called a Partial Attribute Value Selector which looks like this:
I interpret this to mean that if a create a style,
then
will show "Text Example" in bold, all other things being equal.
No? I'm not getting that result. Am I missing something? How about a good example to illustrate how this works.
I am seeing some other discussion on line about CSS3 where this is developed further so that you can make partial selection from the beginning or end of the attribute value, for example.
Code:
element[attr~="value"]
I interpret this to mean that if a create a style,
Code:
td[class~="MyStyle"] { font-weight: bold; }
Code:
<td class = "MyStyleA">Text Example</td>
No? I'm not getting that result. Am I missing something? How about a good example to illustrate how this works.
I am seeing some other discussion on line about CSS3 where this is developed further so that you can make partial selection from the beginning or end of the attribute value, for example.