Table moved down page depending on number of rows

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
primate
Forum Commoner
Posts: 49
Joined: Fri Jun 18, 2004 4:38 am
Location: England, UK

Table moved down page depending on number of rows

Post by primate »

I have a right hand side float element that contains a table of results generated from a script.

The more results that the table contains the further down the page it appears and I can't for the life of me figure out why. I've used effectively the same code on the main table generated by the script and this problem does not occur.

A screen shot with not many results: Image

A screenshot with more results:
Image

A sample output page is here:

Any suggestions?

http://www.clear-edge.net/test/syslog1.htm
zenabi
Forum Commoner
Posts: 84
Joined: Mon Sep 08, 2003 5:26 am
Location: UK

Post by zenabi »

It looks like an IE only bug (it looks fine in Firefox).

I can't guarantee this will work but (off the top of my head) try putting height: 100%; on the right float.[/b]
primate
Forum Commoner
Posts: 49
Joined: Fri Jun 18, 2004 4:38 am
Location: England, UK

Post by primate »

Thanks, but it didn't make any difference :(

So the margin above the table in the right hand float from the link above looks the same as this one http://www.clear-edge.net/test/syslog2.htm ??

This problem didn't occur until I added some hidden form fields to the right hand float results, but I don't understand why that would make any difference....
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Yep, both look identical and OK in Firefox. Try setting the vertical alignment of the right cell to "top". Turning on table borders usually helps me visualize a table better.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
no_memories
Forum Contributor
Posts: 145
Joined: Sun Feb 01, 2004 7:12 pm
Location: New York City

Post by no_memories »

Are you using CSS for the output tables?

and if so, can you provide the CSS for the affected tabel. I think I know what is happening here.
Post Reply