Hi, I am designing a website using HTML-CSS-PHP and I have a strange problem. I am working locally on my PC and I use Notepad++ for coding and saving my files. The default encoding in Notepad++ is ANSI. I am using a language other than English for the text of the site, so I need to save the .php files in UTF-8 encoding. But when I change from ANSI to UTF-8 the layout slides down about 10 px, I have no idea why.
It's probably due to some extra character added during conversion, like a byte order mark (BOM). Go to the View menu in Notepad++ and check "Show all characters". Delete any extra characters at the top, but not the carriage return or line feeds (CLFL). Also, do you have this in you head section?
Yes, it was the reason. I didn't see that "dot" in Notepad++, but when I uploaded to the server, it was visible. Thanks.