For editing the border, look for this line:
$attrib_grid = '<table id="attrib-grid-table" cellpadding="3" border="1">'."\n" .
For the other question, I suppose you could create different "product types" (Catalog, Product Types) and then create a different template for your other product type without the attribute module code in it. I have not tried this myself so not sure what fancy coding might be necessary for the template change.
Bookmarks