my first wordpress “hack”

xhtml compliant flickr widget

I’ve made some changes to the flickr sidebar widget. When I installed it I didn’t realise that it used tables for layout, then I validated my page and found there where a number of issues in the widget; so I took it upon myself to sort out the xhtml.

I have:

  • Fixed the img tags
  • Removed CSS rules from the widget (you can’t have a <style> tag inside an li)
  • Removed the table markup and replaced it with a single div
  • Written new CSS rules for the Theme’s style sheet

You can download the revised widget here.