Just add a class attribute to the <img> tag : <img class="this_image" src="abc.gif" /> ----- Original Message ----- From: "Rachel Cunliffe" <r.cunliffe at auckland.ac.nz> To: <thelist at lists.evolt.org> Sent: Tuesday, March 25, 2003 1:34 AM Subject: [thelist] Simple CSS Question > Is there a simple way of coding this CSS, all images inside a div are > given a particular style? > > <div class="mystyle"> > <img src="..." ... /> <img src="..." ... /> > </div> > > img.mystyle doesn't work, as I'm not specifying class="mystyle" inside > each of the image tags. > > div.img.supporting applies the style to the entire div, and not just the > images inside the div. > > Any help greatly appreciated. > > TIA, > Rachel > > > > -- > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt !