简体   繁体   中英

Html and css layout issue

I have a (fairly) basic layout with two panes floated to the right: http://jsfiddle.net/enqXe/14/ However, the top one isn't taking up 60% and the bottom one 40%. Part of the problem I think is that #rightPaneHolder isn't 100% of the height for some reason. Is this some simple css error? Thanks!

Add this:

body,html{height:100%;}

http://jsfiddle.net/enqXe/15/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM