When designing the interface, it is often necessary to display two divs on the same line.
But I always forget how to do it, so here is an essay and a memo.
To display the "first div" and "second div" on the same line as follows:
You only need to add css styles to id2 and id3, as shown below:
That’s it. It's very simple.