Validation time. (For clients!) Get the stuff valid, so the work with CSS is less guess and more science. So, one begins by removing all the errors that have to do with missing slashes, lost ALT attributes, and soon the errors are fewer.
My tactics were: “Perhaps the markup in the write statements could be divided, so the W3 Validator didn’t recognize it as markup.” That way worked.
I got off with a warning this time.