I have 2 divs: one in the left side and one in the right side of my page. The one in the left side has fixed width and I want the one of the right side to f
I have a very simple solution for this ! //HTML
left right //CSS #left { float:left; width:50%; position:relative; background-color:red; } #right { position:relative; background-color:#00FF00;} Link: http://jsfiddle.net/MHeqG/ 0 讨论(0) 查看其它25个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
//CSS
#left { float:left; width:50%; position:relative; background-color:red; } #right { position:relative; background-color:#00FF00;}
Link: http://jsfiddle.net/MHeqG/