You had nicely formatted html, and the lines in the formatting turned into line-breaks, and the browser places them before your table.
Go back and run your html all on one line, and it will work as you wanted.
Cheers, Ben
"... I couldn't see how anyone could be educated by this self-propagating system in which people pass exams, teach others to pass exams, but nobody knows anything." --Richard Feynman
Alex "Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing had happened." -- Winston Churchill (1874-1965)