21288 Posts in 5733 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » Some space added before <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 839 Views |
-
Some space added before <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

8 July 2009 at 6:31pm
When the page rendered I saw a line is added in the front of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
It is happening in every template. There is no leading space present in any of the template.
Please help me to solve this problem.Thanks in advance
Soumen
-
Re: Some space added before <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

8 July 2009 at 9:42pm
In your php-code-files , try stripping out the ending PHP tags ?> .....
| 839 Views | ||
|
Page:
1
|
Go to Top |


