I was struggling since morning a simple CSS layout. I can’t figure out. Please help!
Here is the code:
[CODE]
<html>
<style type=”text/css”>
body
{
background-color: #EFEFEF;
}
#wrapper { width:100%; float:left; }
#left { width:auto;
background: url(‘left.gif’) left repeat-x;
float:left;
}
#right {
width:auto;
background: url(‘right.gif’) right repeat-x;
float:left;
}
#main {width:980px;
margin-left:auto;
margin-right:auto;
float:left;
}
</style>
</head>
<body>
<div id=”wrapper”>
<div id=”left”></div>
<div id=”main”><p>main</p></div>
<div id=”right”></div>
</div>
</body>
</html>
I want to achieve like the officedepot left and right shaded area with thick border on right and left of 1st and 3rd column. 2nd (center) to display content. Can this be done?