fordie’s Blog

26 Jul, 2006

my first wordpress “hack”

Posted by: admin In: blogging|css|widget|wordpress|xhtml

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.

No Responses to "my first wordpress “hack”"

Comment Form

fordie, elsewhere:

if you're an internet stalker these would be good sites for you to stalk me on…