I need to put a shadow on the sides of a div, how do I do it? Here's an example:

If you want it exactly like there, then:
1) Set style1 on the body: body {background:url("/images/ten.jpg") repeat-y scroll center 0 #ddf3fe}
2) Place the content in a block 1001px wide and give it the style margin:0 auto to centre it
Redy]If you want it exactly like there, then:
1) Set style1 on the body: body {background:url("/images/ten.jpg") repeat-y scroll center 0 #ddf3fe}
2) Place the content in a block 1001px wide and give it the style margin:0 auto to centre it
and here's the shadow image itself) nothing clever)))
CSS3 has ready-made properties for shadows
for example
-moz-box-shadow: 0 0 25px rgb(2, 2, 2);
-webkit-box-shadow: 0 0 25px rgb(2, 2, 2);
box-shadow: 0 0 25px rgb(2, 2, 2);
Comments