Jump to content

How To Create Shadow Effect On Tables


alexpalmbay
 Share

Recommended Posts

Hello All,I've seen websites where there is a "shadow" on the right and bottom of a table. I'd like to know how to do this using CSS if possible. Again, the only thing I'm looking for is a "shadow" effect on the right and bottom of a table. Thanks in advance for your time and consideration.

Link to comment
Share on other sites

  • 2 weeks later...

actually.... here is one:

<html><head><style>div.shadow{height:80px;width:80px;position:absolute;left:10px;top:10px;z-index:-1;background-color:gray;}div{height:80px;width:80px;background-color:white;}</style></head><body><div>text</div><div class="shadow"></div></body></html>

Now, it worked in the try it editor on w3schools but not on a page in my website... dont know why

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...