The ceiling is fixed to the underside of the joists, the attic floor is fixed to the top side.
Thanks.