Using a CSS background gradient and, in Chrome, it just shows up as solid black if the div is greater than 32,000 pixels.
background-color: white;
background-image: -webkit-linear-gradient(top, #EEE9F0 10%, white);
background-image: -moz-linear-gradient(top, #EEE9F0 10%, white);
background-image: -ms-linear-gradient(top, #EEE9F0 10%, white);
background-image: -o-linear-gradient(top, #EEE9F0 10%, white);
background-image: linear-gradient(to bottom, #EEE9F0, white);
Here's a live example (http://www.daniweb.com/software-development/c/threads/334260/a-simple-tic-tac-toe-c-programming) until/unless I find a solution.