I have a web page with some JavaScript which I'm running via the 'onload' event for the <body> element. The code looks at certain child elements and adjusts all their heights to match the tallest one. This means that the layout always visually shifts a bit after the page is loaded and displayed.
It's fine as it is, but I'm wondering if there's a better event to hook into instead of 'onload' - perhaps one that fires after the page has loaded (so I can access and modify the element heights) but before it is rendered?