Disabling Deprecated HTML Using CSS
Tuesday, October 23rd, 2007 | 101 Comments
When handing over a project to the client, you sometimes loose control over the content HTML source. Sometimes the client uses a CMS that allows them to have full control over certain parts of the HTML, and sometimes the client simply uses your templates to insert their own HTML content in the document.
It can be hard enough to inform the client about how to use the templates or CMS you provided, and sometimes there is simply not enough room to educate and lecture about semantic HTML and standards. The client will use their plain old markup they once learned, simply because it still works and looks the way they are used to. That will most likely involve some deprecated HTML tags and attributes, such as bgcolor, align and the dreadded <font> tag. This article is about disabling the deprecated tags using CSS, thus gracefully guiding the client in the right direction.