Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Position div according to screen resolution


prasanth_v - 2:40 am on Aug 26, 2012 (gmt 0)


Hi, I have the following div ids.

#left{
width:150px;
height:500px;
background:#00FFCC;
float:left;}

#right{
width:150px;
height:500px;
background:#993333;
float:left;}

#middle{
height:500px;
background:#FF0000;
float:left;}

What I need is, I want to keep the left and right width constant. I want the middle div expands or shrinks according to the screen resolution so that the outputs fits perfectly to any screen.

Can anybody help me?


Thread source:: http://www.webmasterworld.com/css/4488366.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com