One reason, which usually isn't a valid excuse, for the first code is when they need two containers around the list items. This could be when they need a rounded-edge container that fits to exactly needed width (left image on div, right image on ul). But I think it's safe to say that only 0.1% of people using that code do that.
|