Jump to content

Archived

This topic is now archived and is closed to further replies.

play_

You know how tyou can do: divName a { ...

Recommended Posts

say you have:

.div_name a {
... ...
}

which would set properties for the links in that div.


but, can you do the same thing with images?

Share this post


Link to post
Share on other sites
Yes. You can style any html that you specify after .div_name, like so:
.div img {
// style here
}

Share this post


Link to post
Share on other sites
thanks. i think i have tried that but i dont think it worked. ill go try.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.