Posted: 4 Aug 2019 11:12 EDT Last activity: 19 Sep 2019 3:40 EDT
Advanced Topic: Customising User Experience Knowledge Check Question
Under How to position dynamic layouts topic, Clear floated layout setting there is a Knowledge check question
A container has two layouts, Layout A and Layout B, that are floating left. You want Layout B to display on top of Layout A. To achieve this, how do you configure the layouts?
You set Clear floated layout on Layout A.
Could somebody explain me the answer please?
As per definition Clear floated layout ensures that the floated layout doesn't share the same horizontal space as any other floated layout before it. If we have layout A and layout B in that order, then if we clear layout A, there should be no change, as there is nothing before it?
If we clear layout B, then it would appear under layout A, because it wouldn't share the same space.
So how does clearing layout A, move layout B above it?
The knowledge check doesn't tell us which is on top of the other, and we assume A is on top of B. If this is the case, then the answer is wrong. If B is on top of A and we clear the layout A, then it will be correct.