Imran Akram's blog

Let's talk about life, technicalities, career opportunities, current affairs and a lot more!

Hover effect on input type=image element

I was thinking about putting a hover effect on ASP .NET’s Imagebutton Control and well, first thing I did is that I found out what it gets rendered into. So I found out that it gets rendered into an input type=image Html tag. I used a technique of putting a hover effect with sprite images. [...]

  • Share/Bookmark

How to change the mouse pointer to a hand with CSS

hello there, there are some scenarios where u want to change the mouse pointer to the one that looks like a hand, you know like the one u get when you hover over a link. Sometimes its pretty useful when you’re thinking about making a popup window that would come up when you click on [...]

  • Share/Bookmark

How to Left, Right, Center Align With CSS

http://www.communitymx.com/content/article.cfm?cid=529B0 http://www.ehow.com/how_2284643_left-right-center-align-css.html body { width: 80%; margin-right: auto; margin-left: auto; border: 1px solid black; } .container { position: relative; height: 50px; } .left-element { position: absolute; left: 0; width: 50%; } .right-element { position: absolute; right: 0; width: 50%; text-align: right; /* depends on element width */ } Download Samples

  • Share/Bookmark