Floated Divs Obeying/Not Obeying Vertical-Align

后端 未结 5 988
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-09 20:00

Within a table cell that is vertical-align:bottom, I have one or two divs. Each div is floated right.
Supposedly, the divs should not align to the bottom, but they do (whic

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-09 20:21

    If you don't want both divs on the same line then don't float them both right. If you put the @ below the text in the markup and then set the float to 'clear' it would put it below the text.

提交回复
热议问题