SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 142 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

konqueror.org/
The Ultimate CSS Reference 94
The following example selectors will allow the application of different CSS styles
to the odd- and even-numbered image elements that are children of the element
whose id attribute value matches "gallery":
#gallery>img:nth-of-type(odd) {
?‹® declarations
}
#gallery>img:nth-of-type(even) {
?‹® declarations
}
Compatibility
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
None None None None None None None None None None
This pseudo-class is currently supported only by the Konqueror web browser.10
10 http://www.konqueror.org/
95 Selector Reference
Selector Reference
:nth-last-of-type(N)
:nth-last-of-type( { number expression | odd |
even } ) {
declaration block
}
This pseudo-class matches elements on
the basis of their positions within a
parent element??™s list of child elements
of the same type. This pseudo-class
accepts an argument, N, which can be a
keyword, a number, or a number
expression of the form an+b.


Pages:
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6