How can I scale a div to 100% height and width inside of another element

后端 未结 3 1034
青春惊慌失措
青春惊慌失措 2021-01-06 01:21

How can I scale a div to 100% height and width inside of another element? In my case a sourrounding td. Since I\'m a plugin I can not control the other HTML on the page. Her

3条回答
  •  花落未央
    2021-01-06 01:39

    Look at this stack overflow question as well ... after reviewing the top rated answer in that question, it looks like you have to set the height of the container to 100% and "min-height, height" of a child element to 100%.

    Go to this website for more info - the HTML below is stripped-down version of the website

    put your content here

提交回复
热议问题