How to center a (background) image within a div?

#doit {
    background: url(url) no-repeat center;
}

Leave a Comment