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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How would I code a drop shadow?
Old 07-01-2007, 02:27 PM How would I code a drop shadow?
Junior Talker

Posts: 1
Trades: 0
Hello, I am currently developing a website, and have run into a small problem. I have no idea how to code a drop shadow, How would I go about doing this? should I use CSS or HTML?

here is an example the drop shadow I need to code.

where the dark gray pattern is the background of the website, and to the right is the main website container. I really need help with this ASAP.

Thanks in advance.
YinYang.ERROR is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-01-2007, 02:34 PM Re: How would I code a drop shadow?
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
You can't really "code" a drop shadow without trying to use some annoying script language.

Have you just tried creating a transparent drop shadow image, then using that in your stylesheet as a background image? You can set it to repeat x or y, and various other entities.
__________________

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

Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Old 07-01-2007, 03:49 PM Re: How would I code a drop shadow?
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
You COULD use a mass combination of divisionsand opacities. This will only work on browsers that support the opacity property.

However, why not just use a very wide background (say 2000px) to cover all screen resolutions and then tile it through the Y axis.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-01-2007, 06:32 PM Re: How would I code a drop shadow?
Tooschee's Avatar
Average Talker

Posts: 20
Trades: 0
As much as I know - the fastest way to do this is use DROP SHADOW in Your graphic application and then, when slicing, just make slices a little bigger, that the drop shadow will be as a simple image
__________________
Available for work.
My Portfolio:
Please login or register to view this content. Registration is FREE

I'm also member of
Please login or register to view this content. Registration is FREE

Tooschee is offline
Reply With Quote
View Public Profile Visit Tooschee's homepage!
 
Old 07-02-2007, 09:52 PM Re: How would I code a drop shadow?
Skilled Talker

Latest Blog Post:
My book update
Posts: 97
Name: Eric
Location: Las Vegas
Trades: 0
put the drop shadow in you background image.
__________________

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

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


Please login or register to view this content. Registration is FREE
peanutpad is offline
Reply With Quote
View Public Profile Visit peanutpad's homepage!
 
Old 07-03-2007, 12:56 AM Re: How would I code a drop shadow?
EGS
EGS's Avatar
Banned

Posts: 862
Name: Justice McCay
Location: New Jersey
Trades: 2
You can do shadow effects like this with CSS.
EGS is offline
Reply With Quote
View Public Profile
 
Old 07-03-2007, 09:50 AM Re: How would I code a drop shadow?
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
Quote:
Originally Posted by King Justice View Post
You can do shadow effects like this with CSS.
How, without using the methods I outlined?
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-08-2007, 05:56 PM Re: How would I code a drop shadow?
Novice Talker

Posts: 10
Name: Lyaksej
Trades: 0
Quote:
Originally Posted by Mooofasa View Post
You COULD use a mass combination of divisionsand opacities. This will only work on browsers that support the opacity property.
I think that those browsers that don't support the opacity property are very rare. Maybe you should not think so much about them.
__________________

Please login or register to view this content. Registration is FREE
Lyaksej is offline
Reply With Quote
View Public Profile Visit Lyaksej's homepage!
 
Old 07-09-2007, 07:21 AM Re: How would I code a drop shadow?
vkw91's Avatar
Ultra Talker

Latest Blog Post:
Good Web Design Guide - part 1
Posts: 314
Name: Vicky
Location: Wales
Trades: 0
Quote:
Originally Posted by King Justice View Post
You can do shadow effects like this with CSS.
ummm....go on....explain.

Sounds new to me!
__________________
Blog (new):
Please login or register to view this content. Registration is FREE

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

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

vkw91 is offline
Reply With Quote
View Public Profile Visit vkw91's homepage!
 
Old 07-09-2007, 08:20 AM Re: How would I code a drop shadow?
Novice Talker

Posts: 5
Name: Holger Schmitz
Location: Birmingham, UK
Trades: 0
Have a look at http://alistapart.com/articles/cssdropshadows
Nice tutorial on how to create drop shadows with CSS.

I know they are not perfect, but mostly this will do
__________________
Holger Schmitz -- Web Developer --
Please login or register to view this content. Registration is FREE
hschmitz is offline
Reply With Quote
View Public Profile Visit hschmitz's homepage!
 
Old 07-09-2007, 01:48 PM Re: How would I code a drop shadow?
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
Quote:
Originally Posted by hschmitz View Post
Have a look at http://alistapart.com/articles/cssdropshadows
Nice tutorial on how to create drop shadows with CSS.

I know they are not perfect, but mostly this will do
That does show how to use CSS to do a drop shadow, but you still have to use an image.
angele803 is offline
Reply With Quote
View Public Profile
 
Old 07-09-2007, 02:33 PM Re: How would I code a drop shadow?
Novice Talker

Posts: 8
Trades: 0
you can use microsoft filter but it will work on IE 5.5+ only

for full info visit
http://msdn2.microsoft.com/en-us/library/ms532985.aspx
__________________

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

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

Free Webdirectory And Review Rating Website
Please login or register to view this content. Registration is FREE
sunnyverma1984 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How would I code a 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 1.28023 seconds with 12 queries