Just a quick question - in my HTML, I have a simple textarea nested within the body tags.
Within my JavaScript, I am using jQuery to ensure that the body element is dynamically resized to match the height of the window:
$(function()
{
$("body").height($(window).height())
})
For my CSS styling, I have specified that the textarea should take up 100% of the width and height, have a red background color, and no borders or padding. I'm also trying to remove the outline when the textarea is in focus. Additionally, the body is set to have a light gray background color with no margin.
However, despite my efforts, I'm encountering a scrollbar when the textarea extends beyond the height of the window. Can anyone shed some light on why this might be happening?