If I had two tables?
<table class="one"> and... <table class="two">
And the CSS looks like:
table.one {
position: relative;
float: left;
}
table.two {
position: relative;
float: right;
}
It is not working...
SQL joins allow you to combine two datasets side-by-side, but UNION allows you to stack one dataset on top of the other. Put differently, UNION allows you to write two separate SELECT statements, and to have the results of one statement display in the same table as the results from the other statement.
Use CSS property to set the height and width of div and use display property to place div in side-by-side format. float:left; This property is used for those elements(div) that will float on left side. float:right; This property is used for those elements(div) that will float on right side.
Don't use position:relative, just provide width for each table in order to float properly.
table.one {
float:left;
width:45%;
}
table.two {
width:45%;
float:right;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With