How can I position an element at the bottom of its container in Firefox?

后端 未结 7 1357
迷失自我
迷失自我 2021-01-04 13:01

I have a table cell, and I want a div within it to always be at the bottom left corner. The following works fine in IE and Safari, but Firefox is positioning the div<

7条回答
  •  太阳男子
    2021-01-04 13:59

    position: relative is apparently not globally supported for the td tag. I couldn't find definitive sources unfortunately.

    You might want to put a div block into the td with the desired size and apply position: relative to that instead.

提交回复
热议问题