I'm very new here and I've just read a couple of posts that imply you may/will strike issues if designing in the visual editor and then tweaking the code in the code editor tab.
and
I suggest you clean all that out completely and then as Eric says...stop trying to toggle between code and visual editor. Just go from your preferred editor (which you will then continue to use exclusively) to the preview screen to check your results each time
Is there really that much of an issue designing in one tab and tweaking in another? I would have thought that the app was designed to work that way.
Ewen :-)