![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
So I made a banner for a DW community, The RecCollectors. It seems to display fine in Firefox and Chrome, but no image comes up in IE.
Right now it uses CSS3 to stack the main image on top of a tiled background image (the stripe). I'm happy with how it displays in Firefox and Chrome, but obviously I need to do something for IE. I tried to write an IE conditional comment specifying a slightly modified image that would work as a stand alone, but I can't get it to work in the custom CSS box.
Does anyone have any suggestions about what I should try next? Is there a better way to combine a fixed image and a tiled image in a header?
Thanks for any input.
ETA: Found a potential something in the comments to another post...adding some custom CSS that puts one image in #header and the other in #header .inner ? Anyone know how that might work?
Right now it uses CSS3 to stack the main image on top of a tiled background image (the stripe). I'm happy with how it displays in Firefox and Chrome, but obviously I need to do something for IE. I tried to write an IE conditional comment specifying a slightly modified image that would work as a stand alone, but I can't get it to work in the custom CSS box.
Does anyone have any suggestions about what I should try next? Is there a better way to combine a fixed image and a tiled image in a header?
Thanks for any input.
ETA: Found a potential something in the comments to another post...adding some custom CSS that puts one image in #header and the other in #header .inner ? Anyone know how that might work?
no subject
Date: 2012-05-16 03:51 pm (UTC)What you need is probably
#header { background: ("url/to/tile/image") top left repeat-x; }
#header .inner { background: ("url/to/top/image") bottom center no-repeat; }
Go to Customize Layout and the Custom CSS tab, and paste that in, and see if it works for you.
no subject
Date: 2012-05-16 04:40 pm (UTC)no subject
Date: 2012-05-16 04:45 pm (UTC)#header .inner { background: ("url/to/top/image") bottom center no-repeat; }
without #header and the image displayed fine. It's only the combination that won't display.
no subject
Date: 2012-05-16 04:49 pm (UTC)no subject
Date: 2012-05-16 05:40 pm (UTC)If I understand right, the .header-left part has to be the repeating image (because the main image needs to be no-repeat and placed in the center). As soon as I put the .header-left width to 100%, the main image disappers because .header-left thinks it should be on top and cover everything else. Any ideas about how I can get the main image to go on top?
Is it possible to reposition the .header-left to the center and make it the no-repeat image?
no subject
Date: 2012-05-16 05:46 pm (UTC)IT WORKS!
Date: 2012-05-16 06:09 pm (UTC)*happy dance*
Thank you!
Re: IT WORKS!
Date: 2012-05-16 06:42 pm (UTC)