I prefer boxer-briefs.
I haven't had the issue with the legs rolling up, but it might be the brand/style. I've been buying Fruit of the Loom Coolzone boxer-briefs for the last few years, they're pretty comfortable and largely elastic so they fit snugly but not tight on the thighs.