Hello, I'm trying to build a web page in php and html that delivers a side table and a table in the middle with search result.
To do this I’ve aligned the side table to the left (i.e. <table width="188" border="0" cellspacing="0" cellpadding="0 align="left">), so that the search results can be displayed at the same level as the side table. I.e. instead of displaying 2 tables 1 underneath each other the tables are displayed side by side.
It’s necessary to do it in this way bcs the results are being flushed (and I want to display this left table before the results are queried and eventually displayed).
Everything works fine, except that when the results table (containing 50 rows) exceeds the table to the left (at about row 10, but this varies between browsers and screen display) the results shift to the left (and to the right in Netscape). The reason is that there’s no longer the left table, so the results align to the centre still (but no left table means no alignment with the results that had the left table).
Obviously, one way to solve this is to say if results exceed the length of the left table insert another table = to the width of the left table – then everything gets aligned properly. This is a pain but I did it anyway for all the results displays. Then I checked it in Netscape and the results distort ridiculously (some are completely off the page).
Does anyone know how to get around this very annoying problem please?
Thank you,
Jason