This is a wordpress-based site, and I am attempting to temporarily replace the header graphic with a swf. The wordpress theme I am using has a mechanism for dynamically generating the header image, so I decided not to wade through a lot of php and replace the image directly. I am instead attempting to place the swf in my home page main content area, and then "shove" it up so it covers the header image using CSS.
It was not too difficult to get working within Firefox and Chrome, but my CSS absolutely destroys IE7:
well i would say that the method you are using is bad. I think the work around that you are trying to use makes sloppy code and I.E 7 isn’t going to let you get away with it. Do you not know how to change the code in the php files. it isn’t as hard as you might be thinking it is. Restore the files and remove the old image and replace it with the flash file. that is the right way of doing things and the site will be better for it.
Thanks – I revisited the header generator php angle and I think you’re right. I still need the generator to run – it completes some design elements – but I am now trying to put the swf directly on top of the generated jpg, from within header.php.
well without direct access to your code, there really isn’t any suggestions that I could offer you. Since you have other things that are messing with it and you are doing it the hokey pokey way. It all comes down to trial and error. I think it’s breaking your design in all the browsers. Your blue drop shadow effect doesn’t line up correctly. are you afraid to edit the php?
I have been tinkering with the php and css for some hours, and will probably continue, but at a slower rate, now that it looks at least somewhat decent. I don’t think the blue drop-shadow misalignment has anything to do with this CSS adventure – I’ve noticed it before, and it has always lined up correctly in other browsers. The real problem is that I’m stretching this poor wordpress theme beyond where it was intended to go. If anyone has any ideas for perfecting the IE flash banner, or any explanation as to why it might not be working correctly, please share!