this works:
div { width:100%; height: 200px;}
.bg_img { background-image:url('img/linen.png'); background-repeat:repeat; }
.bg_color { background-color: orange; }
<div class="bg_img"></div>
<div class="bg_color"></div>
but it doesn't look like it supports the background shorthand.
edit -- forgot the image extension
this also works:
.bg_sh { background: transparent url('img/linen.png') no-repeat center center; }
<div class="bg_sh"></div>
as a caveat, you might want to test in night mode. seems like background colors (but not images) are overriden
Last edited by mzmm; 12-13-2012 at 09:33 AM.
|