views:

52

answers:

2

Which browsers have support for CSS :before { content: "x"; }? I could not find any information about this question. It seems that the CSS attribute content is quite unknown in the community although seemingly useful.

+1  A: 

See http://www.quirksmode.org/css/contents.html#t15.

RegDwight
+2  A: 

You are looking for the Quirksmode compatibility tables.

Not supported by IE7 and lower.

IE8b1 doesn't accept images as content.

Pekka