Html 使用twitter引导时,将textarea缩放到网页

Html 使用twitter引导时,将textarea缩放到网页,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,我正在尝试根据页面大小调整textarea的比例。也就是说,我试图让textarea填充第二个容器和页脚之间的空间 HTML: 我应该怎么做才能使文本区域填满空间(缩放到页面) 谢谢。将文本区域宽度设为100% <textarea disabled style="width:100%" ></textarea> 请参见谢谢您的回答,宽度正确,但高度不正确。高度必须跨越从下到页脚的所有范围,以便自动调整文本区域的大小,必须对此进行编码,请参见此链接, /* Stick

我正在尝试根据页面大小调整textarea的比例。也就是说,我试图让textarea填充第二个容器和页脚之间的空间

HTML:

我应该怎么做才能使文本区域填满空间(缩放到页面)


谢谢。

将文本区域宽度设为100%

<textarea disabled style="width:100%" ></textarea>


请参见

谢谢您的回答,宽度正确,但高度不正确。高度必须跨越从下到页脚的所有范围,以便自动调整文本区域的大小,必须对此进行编码,请参见此链接,
/* Sticky footer styles
-------------------------------------------------- */

html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
}

/* Set the fixed height of the footer here */
#footer {
  height: 60px;
  /*background-color: #f5f5f5;*/
}

#mytextbox {
    min-height: 100%;
    height: auto !important;
    width: 100%;
    height: 100%;
}
<textarea disabled style="width:100%" ></textarea>