Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to : Div box shadow with image Re: How to : Div box shadow with image

#86475
tnguru
Member

now i got the solution.. here is the css code

body{
background:#e8e8e8;
color:#444;
font: 12px “Helvetica Neue”, Helvetica, Arial, sans-serif;
margin:25px auto;
padding:0;
}
#wraper{
width:960px;
margin:0 auto;
padding:0;
position:relative;
display: table;
background-image: url(‘top-left.png’), url(‘bottom-right.png’);
background-repeat: no-repeat;
background-position: left top, right bottom;
}
#container{
background:#fff;
width:940px;
margin:8px 8px 12px 12px;
padding:0;
min-height:700px;
border:1px solid #e1e1e1;
}

and here is the html code

the solution is :

i just used outer div display is table..

but it’s not works with ie6,ie7,ie8
works with ie9,mozilla 3+, safari 4+, opera 10+

anyway i hope most of users are browse with latest browser..

thanks all :(