Inserting pages with content

liunx

Guest
Ok, I'm hiding out in HTML now after asking a few questions in CSS.<br />
<br />
My new question is: I'm using PHP to include an external file of text content. Now when I display it in my CSS all the white space formatting is deleted and it becomes one block of mish-mush. I've checked CSS tutorials but they aren't addressing this issue. I've tried the display element and white-space to no avail. Argh!<br />
<br />
Brandon<br />
<br />
---<br />
the frustration continues...<!--content-->One can use the PRE (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/struct/text.html#edef-PRE">http://www.w3.org/TR/html4/struct/text.html#edef-PRE</a><!-- m -->) element or the "white-space (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/text.html#propdef-white-space">http://www.w3.org/TR/REC-CSS2/text.html ... hite-space</a><!-- m -->)" CSS property.<!--content-->That was the key! I didn't even think about the white-space:pre because it wasn't listed as being supported by browsers in the WC3 classroom tutorial. <br />
<br />
Thanks Charles!<br />
<br />
Brandon<!--content-->
 
Back
Top