Thousands of tutorials to learn from
When you select a part, it turns blue (or green or orange) but that's not only what happens, if you check closer you'll see, that ther is a orange wireframe cube around it, and that's it, that's why your floor looks below the part.
It can be also achieved (fixed) by right clicking and selecting on "edit scene" and selecting the proper selection of planes (XY XZ YZ) and adjusting the height