By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,507 Members | 1,183 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,507 IT Pros & Developers. It's quick & easy.

adding shadow to picture

P: n/a
hi,

what's the best way to display pictures with an automatic generated shadow ?
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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" <ta******@hotmail.com> schrieb im Newsbeitrag
news:eJ***********************@phobos.telenet-ops.be...
hi,

what's the best way to display pictures with an automatic generated shadow ?

Jul 17 '05 #2

P: n/a
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" <ru***@yahoo.com> wrote in message
news:ck*************@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" <ta******@hotmail.com> schrieb im Newsbeitrag
news:eJ***********************@phobos.telenet-ops.be...
hi,

what's the best way to display pictures with an automatic generated
shadow ?


Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.