View Full Version : css text-shadow
02-12-2004, 07:35 PM
which browsers support css text-shadow?
02-12-2004, 08: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>
Surely that technique can't work — pseudo-content can't take the display property.
02-12-2004, 08: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).
Okay, but Opera's the only browser that renders it.
02-13-2004, 06: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.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.