Archive for September, 2007

WP gallery

I was searching for a simple WordPress gallery plugin but the problem was that there were so many of them. I played some of them but I couldn’t find that meets my purpose. Instead of testing all of them, I created yet another plugin. My objective was:

  1. It should be as easy as writing an article.
  2. It should work with or without JS support.
  3. It can be embedded into an article or a page.

This plugin fulfilled my purpose so far. Some examples are here. If you are interested, you can download it here. Continue Reading »

No Comments »

admin on September 26th 2007 in Wordpress

Some HTML & JS gotchas

1. Mysterious padding

<div style="background-color:blue;">
    <img src="some_url/a.gif" alt="Header" />
</div>

Image on IEImage on FF

See the output results above, it creates blue padding at the bottom of the image in IE. To fix the issue, you have to rewrite the code without a line break (mean a single line of code) or even simply add <br /> tag immediately after the <img> tag. Continue Reading »

No Comments »

admin on September 5th 2007 in Programming