answersLogoWhite

0


Best Answer

Option 1:

You can place 2 HTML tables side by side using CSS by setting the float of your table elements to left

table{

float:left;

}

Option 2:

You can place each table inside it's own

element and set each div to float:left; or display:inline;

Option 3:

You can set one table float to left and the other table float to right.

.table1{

float:left;

}

.table2{

float:right;

}

User Avatar

Wiki User

βˆ™ 16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you position tables so that they are adjacent to each other using CSS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Feature of rdbms?

It stores data in tables. Tables have rows and column. These tables are created using SQL. And data from these tables are also retrieved using SQL


What characterizes a mosaic table?

Mosaic tables are generally tables with assembled small pieces of colored glass, stone or other materials. Mosaic tables can be made using custom design or pre-made stones.


Find hypotenuse only using opposite and angle?

In a right angles triangle the sides are named the hypotenuse (the side opposite the right angle) and the other two sides are called the adjacent and the opposite sides. 1) The sine of an angle = length of the opposite side ÷ length of the hypotenuse. 2) The cosine of an angle = length of the adjacent side ÷ length of the hypotenuse. Using 1) The length of the hypotenuse = length of the opposite side ÷ the sine of the angle. Using tables or a calculator obtain the sine of the angle and divide this into the length of the opposite side. The result will be the length of the hypotenuse.


What is adjacent letter?

An adjacent letter is the letter that follows another letter. For example, the adjacent letter to "A" is "B." Some examples of words using adjacent letters are "deaf," "clef" and "cab."


How do you place tables in CSS side-by-side?

Try using float:right; on the second table to get it to the right of the first table. You could also use the position attributes. Another thing to do to put tables side by side by just using HTML, is to put the two tables into another table. So you would have a main table with one row and two cells, with a table in each of those two cells.


What do waiter's use spread sheets for?

While they are serving tables, they would not be using them. But they may have other uses for them if they do other things as part of their jobs. They might be keeping a record of tables they work on or the amounts of people at tables. They could have a plan of the tables that they are responsible for and showing who is responsible for other ones. In reality a lot of those things could also be done by other staff, or by the waiters if they have other responsibilities. In a small restaurant, different people may have many different roles.


Can you write a sentence using the word adjacent?

I looked at the blueprints for the house and noticed the bedroom is not adjacent to the bathroom like I had wanted.


Can you give me a sentence using the word times tables?

This week I learned my 4,5 and 6 times tables.


What is a disadvantage to using tables?

it is often difficult to solve complicated problems alone


Are tables and databases the same in access?

A table is really just one part of a database. The database consists of other things like the queries and reports. In general we do specifically think of the tables as being the database as that is where the data is stored and tables are central to everything else. As there can be multiple tables and other things as part of the system the term database is used to cover them all as one or as what is called a database management system.


What are the diagonal lengths of a kite that has adjacent sides of 7 cm and an angle of 80 degrees between its other adjacent sides of 5 cm?

Using the cosine rule the diagonals are 6.43 cm and 10.05 cm both rounded to 2 d.p.


What links two tables using a common field in both tables and extracts the relevant data from each?

A join operation links two tables using a common field and extracts relevant data. By specifying the common field in the ON clause of a SQL query, the database can combine rows from both tables based on matching values in that field. This allows data to be retrieved from multiple tables in a single query.