css-float Flashcards

1
Q

What were floats originally designed for?

A

To wrap images around text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are clears for with floats?

A

It allows for no sibling within a parent element can touch the left of right side of a container

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some of the downsides for using floats in layout design?

A

If the parent element only has floated children some browsers will interpret it to be zero pixels tall.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly