robert_gsfame Posted May 18, 2010 Share Posted May 18, 2010 i want to have one table besides another table....i always find the second table below the other. Can anyone tell me how can i do this thx in advance Link to comment https://forums.phpfreaks.com/topic/202177-table-besides-table/ Share on other sites More sharing options...
F1Fan Posted May 18, 2010 Share Posted May 18, 2010 Do you mean "beside," because that's very different. If so, use the CSS "display" and "float" attributes. Add "display: inline;" to both tables. Then, add "float: left;" and "float: right;" to the left and right tables, respectively. Finally, make sure that the total width of each table doesn't exceed the width of the window. If you're using percentage widths, never exceed 100% total. In fact, sometimes margins and padding will make 100% too much, so try 99%, 98%, etc. Try that. Link to comment https://forums.phpfreaks.com/topic/202177-table-besides-table/#findComment-1060163 Share on other sites More sharing options...
robert_gsfame Posted May 19, 2010 Author Share Posted May 19, 2010 thx f1fan!! Link to comment https://forums.phpfreaks.com/topic/202177-table-besides-table/#findComment-1060342 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.