...

View Full Version : css text-shadow



ssskaya
02-12-2004, 06:35 PM
which browsers support css text-shadow?

thanks.

me'
02-12-2004, 06:53 PM
AFAIK, only Safari.

liorean
02-12-2004, 07:06 PM
David's right. So far, only Apple Safari 1.1 and later. However, there are other ways of achieving that effect, see <http://web-graphics.com/mtarchive/001144.php>

me'
02-12-2004, 07:09 PM
Surely that technique can't work &mdash; pseudo-content can't take the display property.

liorean
02-12-2004, 07:20 PM
Originally from [CSS2.0] 12 Generated content, automatic numbering, and lists (http://www.w3.org/TR/REC-CSS2/generate.html):
The :before and :after pseudo-elements elements allow values of the 'display' property as follows: If the subject of the selector is a block-level element, allowed values are 'none', 'inline', 'block', and 'marker'. If the value of the 'display' has any other value, the pseudo-element will behave as if the value were 'block'.
If the subject of the selector is an inline-level element, allowed values are 'none' and 'inline'. If the value of the 'display' has any other value, the pseudo-element will behave as if the value were 'inline'.Note. Other values may be permitted in future levels of CSS. Note that this limiting passage is removed in [CSS2.1] 12 Generated content, automatic numbering, and lists (http://www.w3.org/TR/CSS21/generate.html).

me'
02-13-2004, 04:49 PM
Okay, but Opera's the only browser that renders it.

liorean
02-13-2004, 05:10 PM
Saf1.2 and op7.5 both allow positioning of generated content. This nice trick uses negative margins and not positioning, though, and that even saf1.1 and moz handle nicely.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum