RT, my side of the project to be done to colleagues, his side open and my side of the effect is different, the most obvious difference is that our table table row spacing is smaller. But we are all ie10, all of them are Win7 systems.
This situation also occurs once: in the field to the customer to install the project program, everything is normal. But if I modify the PHP file on the server, even if I add a completely useless background variable, the line spacing will be smaller. :
The first one is normal and the second one is smaller.
Ask the big God to dispel doubts. Using the Smarty template
Reply to discussion (solution)
Seeking the Great God @xuzuning
@xuzuning
It's just not visible, and you're not cutting the same page.
It's just not visible, and you're not cutting the same page.
Because I have no problem with my side, so I asked my colleague to send a question over his side. Although not the same page but the page that applies this TPL is like this
What else do you need? Source?
Didn't you say it was the same thing? How do you still "apply"?
TP requires that program files (including templates) are utf-8 encoded without BOM, please note
BOM header can break the page layout
Didn't you say it was the same thing? How do you still "apply"?
TP requires that program files (including templates) are utf-8 encoded without BOM, please note
BOM header can break the page layout
Maybe I used the wrong words, I said "apply" refers to the $smarty->display ($TPL); Inside the $tpl template file is the same,
In addition to consult moderator I Baidu the following BOM, only one explanation is browser object model. Not very understanding AH.
The browser is the same? If the program is executed, there should be no difference, mainly the browser problem.
The browser is the same? If the program is executed, there should be no difference, mainly the browser problem.
But why is it that changing a little bit of code on a server can cause a change in style?
I told you it was the BOM head effect?
Online about how to remove the BOM head of a lot of articles, why don't you look at it?
Solved Thanks Moderator
Because the UTF8 php file is saved with Notepad.