Treat several DOM nodes as a whole