I constructed this with a top line and two verticals - as you tried. You might have space in the body part to move your objects up by a pixel or two.
To add, the top line should be directly adjacent to the header-body division line. Also, my solution above doesn't have a bottom line, so it looks funny (open-bottomed) with small found sets. Here's another version with a bottom line:
Use table view?
Is this a list view? You can take off the box and use the body part's line instead.