Visual Effects Properties

New in CSS2, visual effect properties let you describe how elements are drawn. I'm including a sampling of these properties here.

clip

  • CSS2 values: <shape>|auto|inherit

  • Default value: auto

  • Element support: Block-level and replaced elements

  • Browser support: [IE5, IE6]

  • Style inherited: No

The clipping region of an element indicates what part of the element is drawn and, therefore, what part is visible. This property lets you set an element's clipping region.

overflow

  • CSS2 values: visible|hidden|scroll|auto|inherit

  • Default value: visible

  • Element support: Block-level and replaced elements

  • Browser support: [IE5, IE6]

  • Style inherited: No

This property specifies whether the content of a block-level element should be clipped if it extends ...

Get Real World XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.