Hyphens, En Dashes, Em Dashes

Q. Is word-for-word hyphenated? Is side-by-side hyphenated?

A. They are both hyphenated only if they precede the word that they modify: There were side-by-side mirrors. The mirrors were side by side.