- This topic is empty.
May 8, 2008 at 2:30 am #22650jhallmusicMember
I’m looking for some help and also opinions.
I put together a site that has quite a bit of transparency to it. I’ve attached a screenshot of the homepage. The logo is a transparent png with dropshadow, and the menu and content window are made up of slightly transparent png images as well. The background image is in a fixed position so that the content above scrolls over it.
Everything is working great in IE7, FF2, and Safari (WIN), but obviously the entire site looks crappy in IE 6 and others that don’t support the transparency. Here are the questions:
1) I tried adding a simple IF statement (I know, I know) that caught IE6 and below and just changed the background image of the logo div to a gif instead of the png (loses the dropshadow but keeps the transparent background). That’s not working. It may be something easy, but I can’t figure out why… here’s what I’m doing:
html:Code:… other stuff …
… rest of file…
where the original pci.css file includes this:Code:#logo
background:url(images/logo.png) no-repeat center center;
3) The site works fine in IE6 and I think should in others below it. It just looks crappy. If something didn’t work right, I’d be all about fixing it, but what if it just doesn’t look as good? Obviously it will be the client’s choice, but any opinions?
thanks.May 8, 2008 at 11:29 am #47369jhallmusicMember
Since I’m trying to use a fixed background, I’m not able to fake the transpareny with jpgs (as I understand it, the only way to do this is fill the area you want to be "transparent" with the background… but since the background won’t be moving with the rest of the page, this won’t work). Let me know if I’m not understanding this correctly.
- The forum ‘CSS’ is closed to new topics and replies.