If it is not a right-angled triangle, you will find an optimal rectange has one side on an edge of the triangle, centred at the midpoint of that edge. Solve the question for one edge, and the solution on the other edges will be obvious.
–
HenryJan 13 '14 at 10:40