Title: dills's Replies | WordPress.org

---

# dills

  [  ](https://wordpress.org/support/users/dills/)

 *   [Profile](https://wordpress.org/support/users/dills/)
 *   [Topics Started](https://wordpress.org/support/users/dills/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dills/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dills/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dills/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dills/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dills/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Background] making images full screen](https://wordpress.org/support/topic/making-images-full-screen/)
 *  Thread Starter [dills](https://wordpress.org/support/users/dills/)
 * (@dills)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/making-images-full-screen/#post-2114254)
 * What if i write it more like this
 * html {
    background: url(images/bg.jpg) no-repeat center center fixed; -webkit-
   background-size: cover; -moz-background-size: cover; -o-background-size: cover;
   background-size: cover;
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Background] making images full screen](https://wordpress.org/support/topic/making-images-full-screen/)
 *  Thread Starter [dills](https://wordpress.org/support/users/dills/)
 * (@dills)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/making-images-full-screen/#post-2114181)
 * Is there a CSS trick I have been working with the bellow code but can not get
   it correct
 *  img.bg {
    /* Set rules to fill background */ min-height: 100%; min-width: 1024px;
 *  /* Set up proportionate scaling */
    width: 100%; height: auto;
 *  /* Set up positioning */
    position: fixed; top: 0; left: 0; }
 * [@media](https://wordpress.org/support/users/media/) screen and (max-width: 1024px){/*
   Specific to this particular image */
    img.bg { left: 50%; margin-left: -512px;/*
   50% */ } }

Viewing 2 replies - 1 through 2 (of 2 total)