Well it also depends on wether your write all your layout by hand and do all that nesting, or if it's just the end product of your code executing.
For example say you're doing something in PHP and you have a function that spits out a table, then for one of the cells it calls another function that spits out a table.
That is pretty manageable in terms of maintainability, and ease of changing things.