I guess IE first has to read the whole body before it starts adding it's "child" elements in the DOM. And you cannot reference something that is not yet in the DOM. FF must be adding children as soon as it sees and creates them.