Carpet overlaps the inner top of sill and the aluminium cover strips, which also hold inner plastic trim panels, clamp carpet in place. Unluckily my carpet isn't in car at the moment so can't post image. Presuming it has molded carpet, not separate pieces, the rest sits in place.
Bookmarks