PDA

View Full Version : table dilemna



mesman00
November 28th, 2001, 02:11
i'm having somewhat of a table dilemna. here's my situation: i'm trying to create a page where i can have tables down the right side, then table down the middle, then tables down the left side. so, how do i do this so evertime i add a new table into the html document it doesn't just place it below the previous table. catch my drift? for an example of what i wanna do look at emuhelp.com. its kind of a setup liek that, where they have tables on left middle and right. if i can get some help that would be really great, i know you guys (especially martin and ratrap) know what ur doing.

-i only mention martin and ratrap because there the only ones i know of here who write web pages, i don't mean to insult anyone else

blizz
November 28th, 2001, 03:38
LOL

erm I hate suggesting this but put the three tables within a table

for example you have the "master" table with three columns and into the top row you put the three tables in a separate column and they should in theory line up next to each other on the page

or alternatively use one massive table using small transparent gifs (or whatever) in separating columns to give the impression of three separate tables

RatTrap
November 29th, 2001, 17:11
i think though the best way to do that so it'll take lesser time to download is to make it 3 separate tables.. all you gotta do is put a.. align="left" .. inside the <table> tag.. it'll align it self to the left.. and you can do so with the next table and so on.. so you have them all alignd to the left one after the other.. then when you want to break the alignment.. i mean as if you want to put the next table underneath the tables you've alignd to the left.. you can put in the html tag <BR clear="all"> and you'll be able to start with a new table underneath the other tables at the foremost left position defined in your <body> tag :)..

mesman00
December 1st, 2001, 04:22
ok, thanks, but what about wanting to put three tables horizontally across the page, like a small one on the left, a big on in the middle, and a small one on the right. Do i have to make one table and then put these other tables inside that?

blizz
December 1st, 2001, 04:28
that's probably the way I'd do ;)

hopefully a more complete and efficient answer will come from the html god

/looks at Rat Trap

3.30am here I'm being lazy

RatTrap
December 1st, 2001, 06:49
sigh.. this is the exact same as i said up there.. only diference is that i put a table on the top and one on the bottom.. hope you get what i mean now :p.. i know i'm bad at explaining so dun worrie..


<table border="1" cellpadding="0" cellspacing="0" width="600">
<tr>
<td align="middle" bgcolor="#aaccff">
blabla top
<BR><BR><BR>
</td>
</tr>
</table>

<table border="1" cellpadding="0" cellspacing="0" width="100" align="left">
<tr>
<td align="middle" bgcolor="#ccaaff">
blabla left
<BR><BR><BR>
</td>
</tr>
</table>

<table border="1" cellpadding="0" cellspacing="0" width="400" align="left">
<tr>
<td align="middle" bgcolor="#ccffaa">
blabla middle
<BR><BR><BR>
<BR><BR><BR>
</td>
</tr>
</table>

<table border="1" cellpadding="0" cellspacing="0" width="100" align="left">
<tr>
<td align="middle" bgcolor="#ffaacc">
blabla right
<BR><BR><BR>
<BR><BR><BR>
<BR><BR><BR>
</td>
</tr>
</table>

<br clear="all">

<table border="1" cellpadding="0" cellspacing="0" width="600">
<tr>
<td align="middle" bgcolor="#ffccaa">
blabla bottom
<BR><BR><BR>
</td>
</tr>
</table>


welp.. that's it folks.. see what i mean with the align="left" ?.. and the <BR clear="all"> ?.. maybe the post i made earlier makes more sence now.. and btw.. i only added the exyta <BR>s on the right and middle tables so you would see they would still stick to the left of eachother.. another way of doing all of that is using layers.. but i figure it's to complicated for you coz you might need to know some javascript plus you'll need to know how to do it so it works on both netscape and iexplorer.. coz it's very diferent.. cheers.. and btw.. it's like.. 7 am here :p..

mesman00
December 1st, 2001, 20:26
ok, i get it now, just a little bit of misunderstanding, thanks for ur help ratrap, maybe one day, in about 25 years, i will be an html god like urself!!

RatTrap
December 1st, 2001, 22:20
hehe np :).. and i myself know some guys who i see as real html gods.. in comparison i'm like.. a html peasent hehe :)..