Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS img inline styles drop shadow on a transparent png/gif

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30428
    lollielala
    Member

    Hi,
    I Know of box-shadow & text shadow but how to make
    an unusually shaped transparent png/gif cast a
    shadow with css or inline styles
    to look something like this:

    http://img521.imageshack.us/img521/8595/shapeu.png

    (Preferably without javascript but not ruling it out)

    Thanks in advance
    Lollie

    #78724
    jamygolden
    Member

    You could give the <img> element a background-image of the shadow. This would require 2 images though, and it wouldn’t be dynamic.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.