There are some premade gaskets out there. You could find one close to your needs and design around it. Or better yet, use an O-ring as timelord suggested. I have seen some rubber mats for sale, however they are like 3 bucks a small 6X6 sheet. Not very practical.
__________________
-winewood-
|