Call me clueless, but I did not know until I found out from Jenn that the <FONT> element has been deprecated and will not validate XHTML 1.0 strict DTD. The keywords-tagcloud widget for WordPress uses that element with a SIZE attribute to scale the tags in the cloud (extends wrists, awaiting slap).
Far be it from me to fly in the face of progressing standards, so I have just released version 2.3 of the keywords-tagcloud widget that uses a STYLE element specifying font-size instead. You can get it by pressing the button below.
Image may be NSFW.
Clik here to view.
Besides averting a visit from the W3C police, using the font-size style provides much more flexibility on how the font is, um, sized. You got pixels, percentage, etc. to choose from. So I added a field to the widget’s control panel where you can specify what units to use. The scaling maximum/minimum fields in Options/Jerome’s Keywords/Tag Cloud Display can be used to control the range of units to apply. Unfortunately, these values get rounded down to the nearest integer, so “em” doesn’t work well for units. Also, CSS units don’t provide an exact mapping for the old font size attribute, but “ex” is pretty close, so I made that the default. However, I found that “%” with a range of 70-250 looks nicer for my theme, and you can see that on the right sidebar here.
If you do your own styling of the widget, make sure you read the upgrade notes.
Thanks, and keep on tagging!
Pingback to all previous posts on this subject for the sake of those who subscribe to comments.
Image may be NSFW.Clik here to view.
