Here’s a snippet of CSS and HTML code that aligns an image in center (horizontally) and middle (vertically). Tested in Firefox, IE, Chrome and Safari.
CSS
#enter {
position: absolute;
text-align: center;
left: 50%;
top: 50%;
margin: -120px auto 0 -130px; /* value of top margin: height of the image divide by 2 (ie: 240 / 2), value of [...]
Continue reading Align an image in center and middle using CSS
21 Apr, 2010
Troubleshooting jQuery.get() Cache issue in Internet Explorer
Posted in: Snippets, Troubleshooting, Tutorials
There is an issue with jQuery.get() in Internet Explorer when trying to update content on the fly because IE caches XMLHttpRequest response and the AJAX call made via jQuery.get() is therefore always returning the same result. I encountered this problem when I was writing a function similar to facebook Like feature where the [...]
Continue reading Troubleshooting jQuery.get() Cache issue in Internet Explorer
Dreamhost Easter Special is available for the week of Easter. Use promo code EASTER10 to get $60 off from one year or two year dreamhost hosting packages when you sign up before 10 April 2010.
Promo code: EASTER10
Continue reading Easter 2010 Special – $60 off one year/two year Dreamhost hosting packages
Hello! Welcome to Web development blog! My name is Ei Sabai and on this blog, I write about web development, mobile app development, latest web technologies and the likes. Read more 

