CSS2 declarations

Back to the index.

CSS2 specification.

Here are those CSS2 declarations that have never been included in a CSS3 module. They include such basics as display, position, and overflow.

This is the desktop table. See also the mobile table.

Last major update on 26 February 2013.

I'm writing a CSS book.

Selector IE5.5 IE6 IE7 IE8 IE9 IE10 FF 19 Win FF 19 Mac Safari 6.0.2 Mac Chrome 25 Win Chrome 25 Mac Yandex 1.5 Mac Opera 12.14 Win Opera 12.14 Mac
Incomplete Yes Yes Yes Yes Yes
  • In IE7 and lower border-collapse does not overrule the cellspacing HTML attribute.
No Yes Yes Yes Yes Yes
No Yes Yes Yes Yes Yes
Incomplete Yes Yes Yes Yes Yes
  • IE7 and lower do not support borders via table columns.
  • When setting a border on a multicolumn, the WebKit-based browsers do not create a middle border, but the other browsers do. See page for screenshots.
No Yes Yes Yes Yes Yes

To assign counters to headings or other elements.

Incomplete Yes Almost Yes Yes Yes

See page for detailed compatibility.

Selector IE5.5 IE6 IE7 IE8 IE9 IE10 FF 19 Win FF 19 Mac Safari 6.0.2 Mac Chrome 25 Win Chrome 25 Mac Yandex 1.5 Mac Opera 12.14 Win Opera 12.14 Mac
No Yes Yes Yes Yes Yes
  • IE7 and lower use hide as the default and don’t allow the value to be changed.
No Minimal Yes Incomplete Yes Yes Yes Yes Yes
  • IE6 supports min-height on TD’s only.
  • IE8 doesn’t support it on elements with box-sizing: border-box. (IE7 doesn’t support box-sizing.)
Incorrect Yes Yes Yes Yes Yes
  • IE 5/6 doesn’t implement overflow: visible correctly.
Incomplete Almost Yes Yes Almost Almost Yes

IE 5/6 don’t support position: fixed

  • IE7 has a strange bug; see page.
  • WebKit-based browsers have a minor bug; see page.
Not tested No Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes
No Yes Yes No No Yes

Specifically for table columns.

Untestable Almost No No Almost No Yes

Column support necessary for the test.

In general Opera gives precedence to the widows and orphans and accepts wildly unbalanced columns, while IE and Chrome find it more important to keep the columns balanced, even if that means the widows and orphans aren’t obeyed exactly.

Selector IE5.5 IE6 IE7 IE8 IE9 IE10 FF 19 Win FF 19 Mac Safari 6.0.2 Mac Chrome 25 Win Chrome 25 Mac Yandex 1.5 Mac Opera 12.14 Win Opera 12.14 Mac