'Fraid I don't know about frames so can't help there.
I thought that you were using CSS? I wouldn't go messing with frames, they're a bit old fashioned now and a lot of people dislike them. Not good for accessibility either.
Surface Pro (2017) vs Surface Pro 4
20 groundbreaking 3D animation technologies coming to Siggraph 2017
iPad Pro 12.9 vs Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.