No replies
kumarrana
Offline
newbie
Last seen: 14 years 41 weeks ago
Joined: 2008-08-17
Posts: 1
Points: 0

It sound easy for many of you but I am stuck on auto-sizing two layers using

. I want two layers to be auto-re-sizable based on content in it. Here is my

stuff on a css file.

DIV.left
{
z-index:1; left: 1px; top: 1px;
    BORDER-LEFT: #808080 2px solid;
    PADDING-TOP: 2px;
	width:170px;
	height:500px;
	overflow: hidden;
    FONT-FAMILY: 'Courier New', Courier, 'Times New Roman';
   	background-color: #669999;
}
DIV.body
{
	z-index:2; left: 352px; top: 146px;
	position:absolute;
	PADDING-TOP: 2px;
	width:727px;
	height:500px;	
	background-color: #ccceee; 
	overflow: auto;
}