![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I have two tables in <spans> I want side by side, |
#2
| |||
| |||
|
|
I have two tables in <spans> I want side by side, I'd suggest that you start by stopping doing that. It's not valid HTML, so how it gets rendered is always going to be unpredictable. If you want a pair of tables side-by-side, then there are valid ways to do this. Pretending that a <table> can somehow be rendered inline though isn't it. Yes I have found out this now, but how do I go about putting two tables side by side in a <div> then ? |
#3
| |||
| |||
|
|
Yes I have found out this now, but how do I go about putting two tables side by side in a <div> then ? |
|
I have tried using "display: inline-block;" style but got no where. |
#4
| |||
| |||
|
|
In article <504qdgF1eem03U1 (AT) mid (DOT) individual.net>, Aaron Gray writes: I have two tables in <spans> I want side by side, I'd suggest that you start by stopping doing that. It's not valid HTML, so how it gets rendered is always going to be unpredictable. If you want a pair of tables side-by-side, then there are valid ways to do this. Pretending that a <table> can somehow be rendered inline though isn't it. Yes I have found out this now, but how do I go about putting two tables side by side in a <div> then ? Actually, you don't even need to put them in a div. Just apply a style of "float: left;" to the first one, and if there's room for both to be side-by-side in the user's agent, they will be displayed that way. |
![]() |
| Thread Tools | |
| Display Modes | |
| |