Can I Glue Moldings Down?

Moldings can be glued down, and is especially recommended for cement sub floors