three empty lines in the begin of html page
<p>i have html code inside a php variable</p>

<pre><code>&lt;?
$HTML_CODE='
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;'.$pg-&gt;pgTitle.'&lt;/title&gt;
&lt;link rel="stylesheet" href="'.$cssFile.'" type="text/css" /&gt;
&lt;/head&gt;
&lt;div id="header"&gt;
';

echo $HTML_CODE;
?&gt;
</code></pre>

<p>When i view the source of my page by in browser ( right click-> view source )</p>

<p>The code starts in line 4</p>

<pre><code>1.
2.
3.
4.&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
5.&lt;html&gt;
6.&lt;head&gt;
7.&lt;title&gt;page title&lt;/title&gt;
8.&lt;link rel="stylesheet" href="style.css" type="text/css" /&gt;
9.&lt;/head&gt;
10.&lt;div id="header"&gt;
</code></pre>

<p>i've used trim function, it's now start in line 3!!</p>
