CSS Centering Trick: How to center a div or an image?

Posted by Stanislav Furman on February 15, 2012

From time to time we create HTML/CSS templates where we need to center a div or an image. For some newbies it poses a problem. In this blog post I'll show you one of the ways of CSS centering.

Suppose you have a div or an image (with the size 150px X 100px) that should be centered on the web page. First step you do is the following CSS:


centered {
  position:  fixed;
  top:  50%;
  left:  50%;
}

CSS Centering Trick (image 1)

Continue reading

Looking for an AJAX loading GIF image? Here is a good GIF image generator!

Posted by Stanislav Furman on February 14, 2012

It is a good practice to display an animated image when AJAX request is in progress. Need a nice loading GIFfor that? Use this online service to generate an animated GIF image to display on your page when AJAX is loading - http://www.ajaxload.info

Have fun!


12 SEO tips that everyone should know

Posted by Stanislav Furman on February 10, 2012
Learn about most powerful and useful SEO practices.