Set background color within spoiler; cross-browser code for getting
element heights.