CSS is not a programming language, it controls presentation, not the
location of files. Your use of this:

img {
background: url(....);
}

...sets a background image for an image and so you get that background image
under a broken link.

Use something like php for this, for example:

<img src="<?php echo $source; ?>" alt="" />

and use css to control how the image looks, that's what it's for!
______________________________________________________________________
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/

Reply via email to