When you code in Xhtml/css it's easy to mantain the formatting and keep everything need for when you go to view source. However when I put out a lot of dynamic xhtml here and there, it look's really messed up (as far as indentation on the view source). Not to say that I don't use /n which help's a lot. It put's the spacing in the source code, however I have my html formatted, with my php output fomatted left justified, everything work's out like this
<html>
<head>
<title>Title Here</title>
</head>
<body>
<form>
</form>
php out put here.
<ul>
whatever
</ul>
</body>
</html>
It alway's turned out malformed, hard to read, and not good to lookat. However that only happen's with my php output, is there a way to retain the indentation, and everything just as if it was straight xhtml?