More advice for the full screen mode.
Sivut toimivat riittävän hyvin MS IE 4.0+, Opera 5.x+, Netscape 6.0+/ vast. Mozilla ja Konqueror 3.x selaimilla. Yleisesti ottaen sivut toimivat parhaiten uusimmilla Opera selaimilla. Sivujen toimivuus vanhemmissa selaimissa on heikko, erityisesti Netscape 4.x kohdalla.

I list below all topic groups, which I have done according to subjects, which they handle. You can return to this topic group by using this menu and the link Table of topic groups on the top of the each page.

Other selectors and lists of selectors



Besides them in the CSS2 specifications is mentioned some other selectors. Tables have two special selectors (row What are selectors, classes and id-attributes and column What are selectors, classes and id-attributes). CSS2 specification doesn't count them to the main selector list in the chapter 5, but it handles them only in chapter 17. They don't have any special selector types. They use selectors, which have already mentioned in this page.

In CSS2 special pseudo-classes are also :left and :right. They are used in page breaking (those rules don't work today in in many browsers, but in future they are very useful).

Browser-specific notes:

  1. Mozilla Gecko browsers support huge quantity of proprietary pseudo-classes and pseudo elements (look at. CSS notes 1[S]).

  2. Pseudo-classes :left and :right work in new Opera browsers.

W3C: CSS2: 13 Paged media[Pw], 17 How to set CSS for table elements ([Pw].
Other sites: John Allsop: Kinds of Selector[Pw].


Selectors of CSS2

  • The universal selector
  • The element type selector/ type selector
  • The first-child selector
  • The adjacent sibling selector
  • The class selector
  • The id selector
  • Attribute What are selectors, classes and id-attributes
  • Pseudo-class selectors:
    • Link pseudo-classes:
      • :link
      • :visited
    • Dynamic pseudo-classes:
      • :active
      • :hover
      • :focus
    • The language pseudo-class
    • The first-child pseudo-class
  • Pseudo-element selectors:
    • :fist-letter
    • :fist-line
    • :before
    • :after
  • Special pseudo-classes, which are used in page breaks:
    • :first
    • :left
    • :right

Selectors of CSS3

People have proposed following new generic selectors to CSS3:

  • Structural pseudo-classes:
    • :root
    • :not-first-child
    • :last-child
    • :not-last-child
    • :first-of-type
    • :not-first-of-type
    • :last-of-type
    • :not-last-of-type
    • :only-of-type
    • :not-only-of-type
    • :only-child
    • :not-only-child
    • :nth-child(n) (n=integer)
    • :nth-of-type(n)
  • Other pseudo-classes:
    • :subject (the subject element pseudo-class)
    • :target (the target pseudo-class)
  • Other new selectors:
    • " (for example address"someContent"; the content selector)
    • ~ (for example ul ~ ol; the indirect adjacent combinator)

In additions into CSS3 has proposed new selectors to simulate the functionalities of HTML 4.0 form elements[S].

Browser-specific notes:

  1. Mozilla Gecko browsers support most into CSS3 proposed pseudo-classes and pseudo elements (look at CSS notes 1[S]).

I don't handle them. Next I handle the What is the processing order of CSS.