Height of content div

Height of content div

Hi guys, I wrote a jquery mobile page with header and content div. I set the height of content div at 100% so that it fills the  remaining  page after the header div but it overflows from the viewport. Why do this? I googled but I didn't find an explanation!