Here is a peek at how we did our AG pool deck. This is our 3rd year with it and I'm glad we did it like we did...under the railing. It could possibly have been 1/2" or so lower, to aid in covering in winter, but it isn't a deal breaker. Solar panels are on the left in the first picture. Thanks to everyone who posted their decks before we did ours, we owe it all to you.