I've created 2 columns layout - content div and sidebar div, with header and footer. See the live example here . How can I make sidebar's height equal to the content height (ie I should have something equal to the table with 2 columns).
I use jquery and jquery ui.
I've used this technique before to solve this exact problem and it works nicely:
http://www.filamentgroup.com/lab/setting_equal_heights_with_jquery/
If you want a CSS solution, look into Faux Columns . You essentially fake the column with a repeating background image. The linked article is just an example, you can Google up 100 articles on it.
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.