Closed Thread Icon

Preserved Topic: carriage return between tables Pages that link to <a href="https://ozoneasylum.com/backlink?for=20445" title="Pages that link to Preserved Topic: carriage return between tables" rel="nofollow" >Preserved Topic: carriage return between tables\

 
Author Thread
TheDude
Nervous Wreck (II) Inmate

From: Cincinnati, OH
Insane since: Feb 2002

posted posted 02-21-2002 03:51

I have two tables that I want to be side by side? How do I prevent the second one from
going below the first?

TheDude

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 02-21-2002 04:15

You can wrap them into a table. This is called "nesting". So you would have...

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td>insert code for first table here</td><td>insert code for second table here</td></tr>
</table>

Additionally, you instead could ALIGN the first table left, which should cause the second one to be to the right. I'm not big on this, as varying amounts of content between the two and different resolutions can cause interesting effects.

Keep in mind that when you start nesting tables, you complicate things drastically. The browser must render the inner tables first, then works its way out.

You could also put each table into a DIV and using POSITION in your CSS to put them into the right place.

Hope this helps.



[This message has been edited by Pugzly (edited 02-21-2002).]

[This message has been edited by Pugzly (edited 02-21-2002).]

TheDude
Nervous Wreck (II) Inmate

From: Cincinnati, OH
Insane since: Feb 2002

posted posted 02-21-2002 04:37

Makes sense.
Thanks Wednezday- I mean Pugzly

TheDude

« BackwardsOnwards »

Show Forum Drop Down Menu