Whats wrong in this code? I cant figure it out?


Sorry if this is the wrong section but I didn't know where to post this.

So I can't seem to see what is wrong with this. Any help is much appreciated!

UserCake Version: 2.0.1
if (!securePage($_SERVER['PHP_SELF'])){die();}

echo "
<div id='wrapper'>
<div id='top'><div id='logo'></div></div>
<div id='content'>
<h1>Portal Page</h1>
<h2>Version 1.0 - KM Systems</h2>
<div id='left-nav'>";

echo "
<div id='main'>

This page will now check to see what permissions you have, and serve the correct page according to your profile.
<i>Note: The portal is still being setup. Please wait a few says for this to be updates. I'm working on it when I get in from work each night. </i>
<iframe src="http://www.linnworks.net/ " sytle="border:0px #ffffff none;" name="Portal" scrolling="yes" frameborder="0" marginheight="0px"
marginwidth="0px" height="800px" width="1100px" allowfullscreen></iframe>
<div id='bottom'</div>



This does not look quite right.

Actually, neither does this:

We cannot nest P-Nodes.

HTML has probably evolved in directions I have yet to explore being quite removed from my level of involvement of ten or so years ago. It may allow block level elements inside a P now, but I would still shy away from doing it. An iframe is a complete document environment set in a closed frame. It should rightly be housed in a DIV-Node, not a P.