I'm encountering a strange issue with a PHP page in Wordpress. When I include an inline Thickbox on the page and try to open it, the Thickbox appears at the very bottom of the page, below the footer.
Interestingly, I copied the generated HTML code and created an HTML file using it. Surprisingly, the Thickbox opens correctly in that HTML file. The only difference is that it is not being produced by Wordpress. All the links to JS scripts are exactly the same.
Can anyone provide some insight into this situation?