Click here to Skip to main content
15,894,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
.left
{
  //fixed 180px
}
.right
{
 //Dynamic based on page size
}


I have two divs left and right need a css which will show like fixed left div with page links and dynamic content div right with % with browser width

Please help
Posted
Updated 1-Sep-12 21:28pm
v2

1 solution

just create css div as given below:

C#
.left
{
  //fixed 180px
  float:left
  width:180px
}
.right
{
 //Dynamic based on page size
   float:right
   //width:180px set width as per your requirement 
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900