Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Table Positioning....dynamic?
October 11, 2006, 7:55 pm
rate this thread
I have a group of 5 tables laid out of the web page. 2 go on the left
side and 3 on the right. These tables retrieve data from the database
so the number of records (rows) returned varies.
So the problem I am having at the moment is that if the table gets
longer by one or two rows, all my alignment goes of out whack for the
other tables. Is there a way for example to place table #2 right after
Table #1 Table #3
Re: Table Positioning....dynamic?
If you want the vertical positioning of each table to be independent of
its siblings to left and right, then you have to enclose each column in
some sort of container.
I suggest two simple <div> side-by-side. The first contains #1 & #2,
the second #3, #4 & #5. Use CSS float to position them side-by-side.
Read brainjar.com for guidance on how to.