View Single Post
Old 12-13-2012, 09:26 AM   #4
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
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.
mzmm is offline   Reply With Quote