Re: first things first
Internet Explorer 6 does not understand min/max width… it only understands width. So if you set min/max to the same… IE6 will just make the <div> 100% wide (assuming it’s not floated). You need to remove min/max and just put in a width. Your options are fixed width in all browsers or 100% fluid in all browsers (no min/max). Or you could use conditional comments to feed IE6 a different set of width declarations.
Bottom line (if I’m recalling the code correctly) is that you have to make #main narrower if you want the profile page to fit within 800px. You can either define a set width in pixels or just remove all width declarations and let #main default to 100% of the width of it’s parent.