This is a discussion on adding shadow to picture within the PHP Language forums, part of the PHP Programming Forums category; hi, what's the best way to display pictures with an automatic generated shadow ?...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Direct Style
<img class="noborder" src=http://mypic.de/pic.jpg alt="A Picture with Shadow..." style="border-bottom: 1px solid #808080;border-right: 1px solid #808080;border-top: 1px solid #000000;border-left: 1px solid #000000;"> CSS or add into a separate .css file ..myshadow { border-bottom: 1px solid #808080; border-right: 1px solid #808080; border-top: 1px solid #000000; border-left: 1px solid #000000; } <img class="myshadow" src=http://mypic.de/pic.jpg alt="A Picture with Shadow..."> imag "Acer" <taja2005@hotmail.com> schrieb im Newsbeitrag news:eJead.274979$Uy1.13960243@phobos.telenet-ops.be... > hi, > > what's the best way to display pictures with an automatic generated shadow ? > > |
|
|||
|
The shadow Recep Uzun posted will show up as a blocky border--hardly as a
shadow. If you're interested in a realistic looking shadow for your images you may want to learn the CSS technique discussed here: http://www.alistapart.com/articles/onionskin/ dk "Recep Uzun" <ruzun@yahoo.com> wrote in message news:ckcevl$spn$03$1@news.t-online.com... > Direct Style > > <img class="noborder" src=http://mypic.de/pic.jpg alt="A Picture with > Shadow..." style="border-bottom: 1px solid #808080;border-right: 1px solid > #808080;border-top: 1px solid #000000;border-left: 1px solid #000000;"> > > CSS or > > add into a separate .css file > > .myshadow { > border-bottom: 1px solid #808080; > border-right: 1px solid #808080; > border-top: 1px solid #000000; > border-left: 1px solid #000000; > } > <img class="myshadow" src=http://mypic.de/pic.jpg alt="A Picture with > Shadow..."> > > imag > > "Acer" <taja2005@hotmail.com> schrieb im Newsbeitrag > news:eJead.274979$Uy1.13960243@phobos.telenet-ops.be... > > hi, > > > > what's the best way to display pictures with an automatic generated shadow > ? > > > > > > |