<!-- Coding Horrors -->
Home   Submit Random All Snippets Lessons/Resources

"CSS abortion"

Language: HTML/CSS

Written in 2004

Submitted by Chris, 01.07.2005 12.44.44

<font class="BlueCopyrightFont" size="-2">
Submitter's comments:

What's Wrong

This is just a terrible misapplication of CSS to HTML. The idea of CSS is to separate presentation and content. For starters, the font tag is deprecated. To apply a class to a font tag...well, it's almost unspeakably horrible. Also, to name a CSS class as BlueFont whatever is nonsense.

Suggested Fix

Get rid of the font tag! Use styles properly! Apply a style to the p element or whatever that contains the text that you want blue.

Comments

Leonardo Picado 09.16.2008 18.02.23

I've seen worse


Rich 06.29.2009 09.11.38

Yeah you big Poopy Head!!


Add a Comment
Name
Comment