css - Firefox textarea sizing bug? -


i'm attempting create fixed textarea fills entire width , height of browser window using css, , following works in chrome:

textarea {     border: 2px solid #3d6aa2;     padding: 5px;     position: fixed;     top:0;     left:0;     right:0;     bottom:0;     resize: none; } 

http://jsfiddle.net/bulletzbill/fzr9k/1/

however, if view fiddle in firefox, appears though not take bottom or right rules account @ all. known bug in firefox, or there workaround it? i'd avoid using javascript/window resize listeners if possible.

here update jsfiddle

you need make width:100%, height:100% , box-sizing: border-box;

you need 2 position points top , left


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -