This is my situation
HTML
> 5条回答 轮回少年 (楼主) 2021-01-14 20:17 You can use display:table-cell property for this. and remove float:left write like this: #item1, #item2 { display:table-cell; } Check this http://jsfiddle.net/59qEt/5/ Note it's work till IE8 & above. 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You can use display:table-cell property for this. and remove float:left write like this:
float:left
#item1, #item2 { display:table-cell; }
Check this http://jsfiddle.net/59qEt/5/
Note it's work till IE8 & above.