Jump to content


Photo

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


  • Please log in to reply
3 replies to this topic

#1 play_

play_
  • Staff Alumni
  • Advanced Member
  • 717 posts

Posted 24 June 2006 - 01:04 PM

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?
regex.kat.sh --- regex library
u.kat.sh ---- url shortener
tabbit.org ---- tabbed pastebin

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 24 June 2006 - 01:24 PM

Yes. You can style any html that you specify after .div_name, like so:
.div img {
// style here
}

#3 play_

play_
  • Staff Alumni
  • Advanced Member
  • 717 posts

Posted 24 June 2006 - 08:22 PM

thanks. i think i have tried that but i dont think it worked. ill go try.
regex.kat.sh --- regex library
u.kat.sh ---- url shortener
tabbit.org ---- tabbed pastebin

#4 play_

play_
  • Staff Alumni
  • Advanced Member
  • 717 posts

Posted 24 June 2006 - 09:17 PM

Ah, it worked.
Thanks wildteen. =)
regex.kat.sh --- regex library
u.kat.sh ---- url shortener
tabbit.org ---- tabbed pastebin




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users