Tony asked:

> Anyone know of a way to target a specific image on a page 
> with css? For
> example;
> 
> #contentHmpg img images/home/hmpgLogo.gif {display: none;}
> 
> images/home/hmpgLogo.gif includes the path to the file hmpgLogo.gif.
> 
> Of course this doesn¹t work, but you get the idea.

Tony-

#contentHmpg img {display:none} should work, unless you have more than one 
image in whatever element that has that ID. If you have more than one image, 
you would need to give the image you wish to target a class:

#contentHmpg img.classname {display:none}

Regards,
Ron
______________________________________________________________________
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/

Reply via email to