chinesedfan / hsrecorder

Single HTML page for recording information about your HearthStone games
https://hsrecorder.vercel.app/html/main.html
1 stars 0 forks source link

remove all hard coding height/width #13

Closed chinesedfan closed 10 years ago

chinesedfan commented 10 years ago

The main problem is how to set the child element's height exactly the same as the remaining of the parent. If can just use css without js, that's perfect.

I am seeking for something like "height: [remaining]".

chinesedfan commented 10 years ago

One way is to use a table, while another is "position: absolute; bottom: 0px; top: [fixed]px".