No Fancy Name
Friday, August 12, 2005
here's a new one...need your help! flex your non-creative muscles!
In the CSS appendix of my book, I wrote a paragraph like so:
The <span></span> tag pair is an inline tag rather than a block-level element. This tag pair essentially enables you to create your own physical markup tags. Because there’s no standard HTML tag for "very small red text on a yellow background," you can create your own class:

.fugly {
     font-size: 7pt;
     color: #F00;
     background-color: #FCFF00;
}

With the style defined, you can apply it to the text spanned with the appropriate tag:

<p>This is <span class="fugly">horrible-looking</span> text!</p>
[see what I mean? fugly!]

My tech editor(s) had no problem. Dev editor said nothing. Copyeditor, bless his heart, left a nice note: "Could you please change the name of the created class? Our house style won't allow even abbreviations of profanity."

Did not even occur to me. I guess "ugly_ass_colors" won't work either for a class name...

Hey, wait a second... that's not fugly. That's actually, uh, kinda useful with the red and the highlight. Ok dear readers, here's a chance for you to participate!

In the comments, describe some truly fugly example for me to use in its place. You don't have to do the style definition, just describe what you think would be horrid.





 



ME-RELATED
job / books / new blog

ARCHIVES
04/04 · 05/04 · 06/04 · 07/04 · 08/04 · 09/04 · 10/04 · 11/04 · 12/04 · 01/05 · 02/05 · 03/05 · 04/05 · 05/05 · 06/05 · 07/05 · 08/05 · 09/05 · 10/05 · 11/05 · 12/05 · 01/06 · 02/06 · 03/06 · 04/06 · 05/06 · 06/06 · 07/06 · 08/06 · 09/06 · 10/06 · 11/06 · 12/06 · ???


CREATIVE COMMONS

Creative Commons License
All blog content licensed as Attribution-NonCommercial- ShareAlike.