Man, I was going along GREAT with my new theme for Drupal, but found an issue I can not overcome, and seems no one in the "themes" forum can figure out either, so I am REALLY begining to think this is a core issue that I am missunderstanding
Here is the deal. When you use $content in your page.tpl.php there is a mysterious "blank" spot the ends up showing up ABOVE the contents of $content.
Now let me explain some things before you start guessing.
We have discussed this at this link: http://drupal.org/node/155575
Now here is the situation.
You can take a fresh, clean install, then create a new theme.
Now that you have a new theme, if you just leave out everything, create a div and inside this div create another div and type Hi, then close out of the inner div. Below that type:
print $content
and then close out of the firstdiv....note you may have to use background color ( a color for the main div, a color for the body of the document and a color for the 'hi') in order to "SEE" the space that shows up.
ie..
< div>
< div>
Hi
< /div>
< ?php print $content ?>
< /div>
Now WHERE IS THIS SPACE between the welcome text and the Hi coming from????
Take out the Hi if you would like, or even the hi and the div the Hi is in...wont matter, this "mysterious space" still shows up!