Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 07-10-2007, 02:17 AM Drop Shadow?
Average Talker

Posts: 26
Trades: 0
I am wondering how to get a shadow on the left and the right sides of my main page just like this site. If you right click on the left side and click on view background image you get this picture, and this one for the right side...

Is there a way to use an image as your border? If not, how do they achieve this of getting an image to repeat vertically in the place of a border?
Brautigam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-10-2007, 03:03 AM Re: Drop Shadow?
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Some sites will actually have both sides of the shadow being one image behind everything. You only see the shadow parts.

The RPI site is using two distinct images. The way I've usually done it is to add the image as a css background image to different page elements. The RPI site is using tables so they have the images in their own cells.

Repeating is the default for background images. You generally have to tell them not to repeat when you don't want them too. In css you can specify:

repeat
no-repeat
repeat-x
repeat-y
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by vangogh; 07-10-2007 at 03:05 AM..
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-10-2007, 04:17 AM Re: Drop Shadow?
EngAdven's Avatar
Experienced Talker

Posts: 37
Name: Gary Molton
Trades: 0
We use standard CSS wrappers around images, either one, four or eight divs. From this we can easily apply images to either display drop shadows or rounded boxes by just positioning different border images in the corners or edges of each wrapper. To be honest we always start designs with eight divs in and just take the CSS out at the end if we don't need it.
If the CSS is present you can just apply borders to the images by adding or removing the new border graphics for each design.
This is when CSS becomes effecient.
There are some examples in our program's templates.
__________________
Gary Molton - Engineering Adventures Ltd

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
EngAdven is offline
Reply With Quote
View Public Profile
 
Old 07-10-2007, 04:01 PM Re: Drop Shadow?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The simplest way to get the drop shadow - create the background image for the page area INCLUDING the shadow on both sides. You'll wind up with a wide graphic only a few pixels high that you repeat vertically. You set this image as the bg for a "wrapper" div, which holds everything else inside it.

I use this method all the time.. it's easy and keeps you from winding up with meaningless divs that just hold shadow images.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-12-2007, 03:11 PM Re: Drop Shadow?
Novice Talker

Posts: 5
Location: AMERICA
Trades: 0
I have been trying to find a similar solution after seeing drop shadows done.

I had been looking into CSS drop shadows, but was trying to find a hack to enable one of these examples to work in a layout capacity.

http://alistapart.com/articles/cssdropshadows
http://1976design.com/blog/archive/2003/11/14/shadows/
http://wubbleyew.com/tests/dropshadows.htm

Thanks guys, I think the div wrapper is a much better solution. Appreciate your help!
justin mason is offline
Reply With Quote
View Public Profile Visit justin mason's homepage!
 
Old 07-12-2007, 06:16 PM Re: Drop Shadow?
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Glad we could help. I also wanted to add I agree with Ladyned that the single image is the easiest way to do this. I've sometimes tried the two image approach because of other considerations with a layout and it is workable, but going with one image is usually much easier.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Drop Shadow?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34048 seconds with 12 queries