• Resolved Stephen

    (@efthaman)


    Hello, I’m trying to set the background image to 100% here so that when you resize the browser window the background image also resizes. I looked in the css files but couldn’t find where it is.

    I looked through all the css files but couldn’t find it…..

    forgot to add that I’m using the 2011 dark theme

Viewing 4 replies - 1 through 4 (of 4 total)
  • You cannot resize a CSS background image. The best you can do is tile it.

    Thread Starter Stephen

    (@efthaman)

    you most certainly can

    html {
    	background: url('../graphics/some_image.jpg') no-repeat center center fixed;
    	-webkit-background-size: cover;
    	-moz-background-size: cover;
    	-o-background-size: cover;
    	background-size: cover;
    	} *

    EDIT

    here is an example

    But that will not work with non-CSS3 browsers.

    Thread Starter Stephen

    (@efthaman)

    Works in all these browsers chrome 13.0.782.107 beta, firefox 5.0.1, safari 5.1 and opera 11.50 not sure about IE 7 or 8

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

The topic ‘help with theme background’ is closed to new replies.