Ignore Kirupa :P

by kirupa | 3 June 2014

Ok, so here is the setup! A short while ago, I was trying to listen for mouse events on the body of a mostly empty page. What I wanted to do was make the body element take up the full height of the page so that I basically have a giant hit target. Knowing what I had to do, I specified the body element in the HTML and specified some CSS that looked as follows:


This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/body_full_size_temp.htm

Somehow I don’t think this is related to “Arrays in JavaScript” :slight_smile:

1 Like

Sigh! I accidentally previewed an article while I was in the middle of writing, and the forum post for it got automatically created :stuck_out_tongue:

I updated the title to be more accurate haha.

1 Like