Prev | Current Page 104 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full Full Full Full Full Full Full Partial Partial
Internet Explorer versions up to and including 6 don??™t support the abbr element,
and the type selector abbr is ignored by those browsers. However, Dean Edwards
has produced a simple workaround:2 if the "html" namespace prefix is used in the
2 http://dean.edwards.name/my/abbr-cadabra.html
selector html\:abbr, Internet Explorer 6 and earlier versions can be made to
recognize the element and apply the declarations. In the following example, we
group two element type selectors (see Selector Grouping (p. 72))??”one for IE6, and
one for all other browsers that support the abbr element:
html\:abbr, abbr {
cursor: help;
font-style: italic;
}
SPEC
CSS1
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE7+
FULL FULL FULL FULL
Class Selector
.className {
declaration block
Selector Reference
63 Selector Reference
}
Selecting elements on the basis of their
class names is a very common technique
in CSS.


Pages:
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116