I've made a theme (never used wordpress before this week), and it's more or less done. The only problem I'm having is that there are a few discrepancies when logged in/out.
All pages display fine except 2:
When logged in, the single post page without comments has no border showing for the wrapper element. Firebug shows that the wrapper is closed early before the content that should be nested within it. However, when logged out this page is absolutely fine.
When logged out, the single post page with comments is messed up, the sidebar drops beneath the comments and the footer is aligned to the left instead of centrally. Firebug shows this as the wrapper again ending early and this time the sidebar and footer are nested in the left content area. However, when logged in, this problem isn't present and all is fine.
Could someone give me some help on this, i'm not sure what to change in the single.php and comments.php files, as everything looks ok to me before the PHP generated stuff.
P.S. I've tried validating to narrow it down but it only seems to be throwing back errors for the php generated stuff.