I am creating a custom theme, and elements behave as they should but when I place the <?php wp_head() ?>
tag I get a top margin, at the top of my theme header.
When I remove the <?php wp_head(); ?>
the margin goes away. I have been at this for a while any help would be great.
Hard to saw without looking at it, but an educated guess:
More than likely it is the CSS for the admin bar, which only appears when you are logged in. the <?php wp_head() ?>
will include the css for it, and <?php wp_footer(); ?>
includes the html for the admin bar.
If you look, it should actually be a margin-top added to the html tag.