An imbed widget in a tab

anytime i try to put a embed widget in a tab widget the code results show up fine in the tab but it screws up my other other layouts on other tabs…anyone run into this and is there a fix