User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 391,781 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,582 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 5930 | Replies: 6 | Solved
Reply
Join Date: Jun 2004
Posts: 210
Reputation: cmills83 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
cmills83 cmills83 is offline Offline
Posting Whiz in Training

Drop shadow around content?

  #1  
May 21st, 2005
I am still new to CSS, how would I add a drop shadow around the main conent of this page? www.racexpressions.com I have been trying for a while but I can't seem to get it to work. Thanks!
Last edited by cmills83 : May 21st, 2005 at 6:33 pm. Reason: broken link
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,138
Reputation: peter_budo has a spectacular aura about peter_budo has a spectacular aura about peter_budo has a spectacular aura about 
Rep Power: 10
Solved Threads: 257
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: Drop shadow around content?

  #2  
May 24th, 2005
Originally Posted by cmills83
I am still new to CSS, how would I add a drop shadow around the main conent of this page? www.racexpressions.com I have been trying for a while but I can't seem to get it to work. Thanks!

Do you mean somting like this

<div style="height: 125; width: 400; filter:DropShadow(color=#C0C0C0, OffX=10, OffY=10)">
Text with shadow
</div>
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Jun 2004
Posts: 210
Reputation: cmills83 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
cmills83 cmills83 is offline Offline
Posting Whiz in Training

Re: Drop shadow around content?

  #3  
May 26th, 2005
I guess I am not looking really for a drop shadow, but moreso a border using gradient.gif to give it an even gradient border all around. Thank you for the reply I'll use that script too, thanks!
Reply With Quote  
Join Date: Jun 2004
Posts: 210
Reputation: cmills83 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
cmills83 cmills83 is offline Offline
Posting Whiz in Training

Re: Drop shadow around content?

  #4  
May 26th, 2005
To be more specific, in Photoshop draw a box and double click the layer and select 'outer glow', that is what I am trying to do. Thanks!
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,138
Reputation: peter_budo has a spectacular aura about peter_budo has a spectacular aura about peter_budo has a spectacular aura about 
Rep Power: 10
Solved Threads: 257
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: Drop shadow around content?

  #5  
May 27th, 2005
You my do that by simply applying filter settings to img tag
<img src="yourimage" style="filter:DropShadow(color=#C0C0C0, OffX=25, OffY=10)">
Is this what you whant type css filter: DropShadow in google and there is lot of examples like this two

http://www.fred.net/dhark/demos/css/..._examples.html
http://www.w3schools.com/dhtml/dhtml_css.asp

Hope this is what you are looking for
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Jun 2004
Posts: 210
Reputation: cmills83 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
cmills83 cmills83 is offline Offline
Posting Whiz in Training

Re: Drop shadow around content?

  #6  
May 28th, 2005
I found an example of exactly the effect I am trying to get from another member.
Thank you for the other ideas, I am going to use the dropshadow on some text for another site.

The shadow around the main content...
www.sitetutor.com
Reply With Quote  
Join Date: Apr 2008
Posts: 1
Reputation: borith is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
borith borith is offline Offline
Newbie Poster

Re: Drop shadow around content?

  #7  
Apr 17th, 2008
i have such this problem too so could you show me the code cmills83? and is it a cross-browsers platform? thanks
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 4:56 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC