It would be easier to try a different tack.
Instead of putting a frame around Moodle, why not just create a new theme that contains all your own navigation graphics, colours and so on in the header and footer?
Installing and upgrading help
Stop breaking frames
This discussion has been locked so you can no longer reply to it.