Posts: 710
Score: 8
Joined: 8/25/2004
From: USA
Status: offline
(NOT ASP) I know this would probably fit better out at an HTML Forum, but I figure someone here has ran across this before. (And I haven't received any responses back from one of the HTML Forums I posted this question on)
I currently have a script that connects to an Access Database and uses the information to create a basic html which only displays a Table. The problem is how the actual page is displayed. I don't believe it's an actual VBScript problem, since I get the same problem if I create the page manually(using the information pulled from the database), but I'm curious if anyone has come across the same problem before.
All of the information is pulled out correctly, but I'm trying to correct the actual layout of the page. If there are 15 lines in the table, then the table doesn't start until about the 16th line of the page. (20 lines in table, 21st line is where it starts on the page) When I create the page manually, with bogus information, it displays correctly. When I manually create the page with the information pulled from the Access Database, I get the same display as when the script creates it.
Has anyone come across this before or run into the same issue? Here's the source for the actual page. I can post the script I wrote to do this, but the problem should be in the html coding and not the script itself.
< Message edited by Country73 -- 11/15/2005 8:52:23 AM >
the code you posted looks okay to IE and Mozilla. But running your code thru HtmlTidy gives an error concerning the "TBODY" in the table tag. If removing this doesn't solve your problem, you should show us your vbs code.