troubleshooting Question

Microsoft Expression Web breaking PHP file in wordpress template

Avatar of collages
collagesFlag for United States of America asked on
PHPWeb BrowsersWordPress
4 Comments1 Solution328 ViewsLast Modified:
I'm attempting to use this wordpress template:

I've used this template successfully in the past.  However, right now I'm editing in Microsoft expression web and I'm running into a problem.  Everything works fine, but if I open up header.php in expression web, change something (just add a space, remove it, save) it breaks the file and the page is no longer centered in IE8.  The file does become a very slightly different size, but winmerge says it is identical to the original.  This does NOT happen if I edit in notepad, but I can't seem to track down what expression web is doing to it (or why) and I've never had problems with expression web in the past.  

A couple other things worth noting:
-Once the file is broken it seems broken for good - pasting it into notepad and resaving does not fix it and the only noticeable difference is that it retains the line breaks from expression web (when originally opening it in notepad there are no line breaks).
-Even if I paste the original working code, from notepad into the broken file in notepad, it's STILL broken.

Any insight into this problem would be very helpful.  I've attached the original file and the broken file as well.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros