• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

howto make table in position side by side ?  RSS feed

 
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, how to i make the table in left-rigth (sidebyside) position ?

for example if i have 2 table as follow, i want the second table just next right hand side of the first table , how to i do that ? :


thank you !
[ July 05, 2005: Message edited by: Nakata kokuyo ]
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey man here is a code for that :



if you got any question gust replay !!!

hope this will help
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This method is better since it does not involve another table:



Eric
 
moh sak
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,


but he want the tables to be next to each other and in your code you create 2 tables, 1 above the other !!
 
Marshal
Posts: 67163
169
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

you create 2 tables, 1 above the other



Did you actually try Eric's code?

Learn the ways of CSS.
 
moh sak
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi again,

yes i did and it creats 2 tables 1 above the other !

maybe there is somthing wrong in my side ?!!!
 
moh sak
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi again,

sorry for posting tow times but i know what the problem is ,

if the window is maximized table 2 will be under table 1 but if u restore the window down the tables will be next to each other !!
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
would it be any side effect if we use CSS ? for example client use older version of IE ...thank you
 
Bear Bibeault
Marshal
Posts: 67163
169
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For pre-CSS browsers (is your client Ug The Caveman?) you're probably stuck with the incredibly icky nested table solution.
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as result of test on eric code , i found the problem as moh mentioned ..how to fix the problem ?
 
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a work-around for what seems to be an IE bug here, but it's very hackish. Replace the CSS definitions for the tables with the following:

 
moh sak
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi again,

Yuriy solve the problem of showing them next to each other, but there is still a problem lets assume that there is data in each row 3 times (or more) the data which is "1" , at a point the second table will go down "under" the first one !


[ July 07, 2005: Message edited by: moh sak ]
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!