Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 05-14-2009, 10:56 AM   #1
Silver Member
 
AusQB's Avatar
 
Join Date: Jul 2008
Location: Perth, Australia
Posts: 167
Send a message via AIM to AusQB Send a message via MSN to AusQB Send a message via Skype™ to AusQB
Default Image drop shadow

I can easily add a drop shadow to an image in Photoshop, but I'm looking for a more efficient and adaptable method for adding a drop shadow without editing the image.

I tried using this tutorial, but I want the shadow to be centered, not at an angle, meaning you would see all four edges/corners of the shadow image.

Any ideas?
__________________
RGG Web Designs
AusQB is offline   Reply With Quote


Old 05-14-2009, 11:08 AM   #2
Silver Member
 
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 108
Default

You can simply create a div with transperancy and place it underneath what you want to shadow, though, the layout may come out suffering due to this, it doesn't look very good.

But that tutorial isn't that bad.
HTML:
HTML Code:
<div id="shadow"></div>
<div id="normal"> everything you want to write and such, is a wonderfull freedom, so gief cookies.</div>
CSS:
HTML Code:
#normal, {
	position:absolute;
	margin-left:-150px;
	left:50%;
	top:65px;
	width:300px;
	height:400px;
	z-index:10;
	background-color: #FFFFFF;
	padding-left:4px;
	padding-right:0px;
	padding-top:0px;
	padding-bottom:2px;
}
#shadow {
	z-index:9;
	position:absolute;
	left:50%;
	top:72px;
	background:#000000;
	width:305px;
	height:400px;
	margin-left:-140px;
	filter:alpha(opacity=20);
	-moz opacity: .20;
}
Something like that. I used this one one page a while back, so i'm not quite sure how i structured it. But, maby it'll give you some ideas
__________________
Nerdrage
Mezangath Web
mezangath is offline   Reply With Quote
Old 05-24-2009, 10:29 AM   #3
Banned
 
Join Date: May 2009
Posts: 66
Default

no. theres a REALLY good paint.net plugin that does that. its the paint.net forum that has it its awesome.... really awesome.
emopoops is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:57 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.