Look at the properties of the control containing the subform. There are various options such Border Style (Solid, transparent), Special Effect (sunken, flat).
To see control properties, open the parent form in design view, right click on the sub form, and choose properties.