What does - Background none repeat mean

Buongiorno fromn 1 degrees C not snowing yet wetherby UK.

On this site http://www.innoviafilms.com/NatureFlex.aspx & illustrated here http://i216.photobucket.com/albums/cc53/zymurgy_bucket/natureflex-css-background.jpg theres a section of CSS code i dont quite understand & here it is:

.innerContainer {
    background: none repeat scroll 0 0 #E5E5E5;
    padding: 0 10px;
    width: 940px;

So my question is please…

“How does the line background: none repeat scroll 0 0 #E5E5E5; influence design”

Grazie tanto,
David

background: is shorthand for things like background-color, background-attachment etc. So each one one those properties refers to one of those. See the Reference for more details: http://reference.sitepoint.com/css/background

“none” often means no background-color, but there is a bg color there, so in this case it refers to no bg image.
“repeat” is for background-repeat
“scroll” is for background-attachment
“0 0” is for background-position, but is kind of irrelevant here, as there is no bg image to be positioned, as are the previous ones.
Of course #E5E5E5 is background-color.

“How does the line background: none repeat scroll 0 0 #E5E5E5; influence design”

It sets the background properties for the element it applies to. :slight_smile:

Most of it is useless, though, because there is no background image. It would be better, in this case, just to write:

background: #E5E5E5;

Most of that line is complete nonsense. The repeat, scroll/fixed and position elements only make sense when there is a background image, but that has been explicitly turned off. You can safely delete “repeat scroll 0 0” from there!

Thanks again :slight_smile: