On Apr 2, 2006, at 12:10 AM, Guillaume wrote: > Is it possible to style the alt attribute without declaring a style > for > the whole body ? > > Such as: > > alt { > > font-style: oblique; > > }
If you mean: styling the 'tooltip' that some browsers mistakenly display when hovering over an image, then the answer is not possible. That is generated at OS level. But if you mean, styling the text when the image is missing (correct function of the alt attribute), then you can use the img tag img { background: lime; color:white} will work in most browsers. Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/