27 June, 2011

Extra padding on < button >

I just had a problem with firefox. When I tried to run have a code like this

<button><span>My Button</span></button>

Firefox added 3px of left margin to the buttons. after a little bit of a search found that this snippet of code can solve the issue

button::-moz-focus-inner {border: 0;padding: 1px 0px 0px 0px;}

Found this here, http://www.aheadcreative.com/removing-unwanted-button-padding-in-firefox/


23 June, 2011

It has been 5 months

Oh nooooo!
I missed my blog for the last 5 months. I havent posted anything after january, so anyway I am back following up some nice ideas to write up.