My website has worked fine for years, however I placed a script in the template from facebook, Since then I can no longer edit my site from design view, it does not display correctly, although it works fine in a browser or in live view.
I have removed the code that i put in but it still does not display correctly.
Any advice will be much appreciated, the site is here www.andrewsl2d.com.
Your code has a significant number of errors. You might want to address these in your Template first. Save & populate to child pages. Then also validate code in your child pages.
This Facebook <noscript> tag does not belong inside your <head> tag. It must be moved to the <body> tag. Unless I'm missing something, I don't know why you need it since it's styled to display:none.
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/offsite_event.php?id=6007231818627&value=0" /></noscript>
As Preran said, Design View is not a web browser. At best, it's an approximation of what you can expect to see in some lesser browsers. Code errors can negatively impact rendering in Design View. If you endeavor to use clean code wherever possible, you'll have fewer problems.
Thanks for your replies, II understand design view is not that reliable, however it used to display well in it untill i put the facebook code in it, the code is something to do with tracking how many viisitors to my sit go on to my facebook page, and in the instriuctions it said to place it in the head section.
I will check through the code for errors, see if that helps.