Changing style with CSS according to markup position

You can use the + symbol in css to alter the way markup is styled according to it's position in the document. This page demonstrates how the boldness of text can be increased the lower in the document the text appears. View the source code.

See 5.7 Adjacent sibling selectors of the Cascading Style Sheets, level 2 CSS2 Specification for full details.

Last modified: 05/05/06 12:25:16
Go to top

Related Pages

No related pages or links.

Login/out

Login

Forgot Password?
Go to top
Go to top