473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

adding shadow to picture

hi,

what's the best way to display pictures with an automatic generated shadow ?
Jul 17 '05 #1
2 2658
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Barry Kelly | last post by:
I'm designing an application framework which will, amongst other things, live in an assembly hosted in the ASP.NET worker process, servicing webservice requests. Here's the scenario: APPFX is...
0
by: Damien Anselmi | last post by:
I am using the CompileAssemblyFromSource method of an ICodeCompiler instance to dynamically compile an assembly used by a Web Application. The assembly may be recompiled any number of times during...
3
by: Lasse Eskildsen | last post by:
Hi, I have a panel on my form, and I would like to add a shadow around that panel, just like Xp as around the menus etc. I tried drawing it with the lineargradientbrush, but it doesn't look very...
2
by: Oenone | last post by:
I have an application which loads plugin DLLs from various directories on the local disk. To avoid problems with the DLLs being locked by IIS, I have modified my code so that it copies the DLLs to...
2
by: Diffident | last post by:
Hello All, I just finished reading an interesting article by Scott about App Domains: http://odetocode.com/Articles/305.aspx Scott, I have a question about the section "Shadow Copies and...
0
by: juglesh | last post by:
Hello, I've searched and d/l'd but cant seem to find a way of creating a semi-transparent drop shadow for an image. Let me say, be fore I go on, I *do not* want one of those scripts that resizes...
16
by: eholz1 | last post by:
Hello CSS group, I saw a beautiful effect that I would like to use either by CSS or using photoshop to create the image/effect (maybe even imagemagick) the site address is:...
1
by: swethak | last post by:
Hi, I am desiging the calendar application for that purpose i used the below code. But it is for only displys calendar. And also i want to add the events to calendar. In that code displys the...
6
by: bravo | last post by:
Hi, select c19,name,c5,count(*) as count,sum(c13) as cost from TableA where c1 like '%' and c5 like '%' and name like 'bravo' and c19 between '2009-01-01 00:00:00' and '2012-01-01 00:00:00'...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.