Left and right DIV shadows

1 replies
  • WEB DESIGN
  • |
Hi,

I'm trying to create a left and right shadow for a DIV, just can't figure out how... Anyone know how to cut off the top and bottom of this?

Code:
.bttm-wrapper{
margin: auto;
height: 29px;
padding-top: 5px;
padding-bottom: 15px;
width: 1080px;
float: left;
border: 0px;
background-color: #FFFFFF;
moz-box-shadow: 0 0 14px #404040;
webkit-box-shadow: 0 0 14px #404040;
box-shadow: 0 0 14px #404040;  
}
#div #left #shadows
  • Profile picture of the author kevbo22
    Your box shadow needs a little more to it:
    box-shadow: 6px 0px 5px -5px #404040, -6px 0px 5px -5px #404040;
    Try this, and keep messing with the values till you get what you want.
    Signature

    The best path to prosperity is free market capitalism!

    {{ DiscussionBoard.errors[8784307].message }}

Trending Topics