On 26/10/06, Fred Janon <[EMAIL PROTECTED]> wrote: > I am creating dynamically an <img> element in Javascript. I set the > "src" attribute to a default image file path i.e. > 'src="images/defaulticon.jpg"' and I would like to be able to override > that path using CSS.
You can't - but if its an <img>, then its content, and if its content it belongs in the markup, not the stylesheet. -- David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/
