Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
-
- CommentAuthorwebsmartdesign
- CommentTimeJun 24th 2008
I have an issue with header image rendering in IE6 on Vitality Blue. It does not display the header picture, but rather shows a light-blue coloured block instead.
Any advice?
Thanks
-
-
CommentAuthorptrkmkl
- CommentTimeJun 24th 2008 edited
There is a very finicky script that is handling the rendering of the header image in IE6 - it is 'iepngfix.htc'.
My guess is that the path changed from the test server to production, and the path has to be set relative to the root document. This would be even more complicated if you've changed your path name.
Here are some general guidelines that should help you fix the problem.
1.) make sure that the paths designated in meta.php point to the correct files. The only reason they wouldn't is if you've changed the name of your theme folder.
2.) make sure the path designated on line 1 of ie6.css points to iepngfix.htc relative to your root moodle folder.
For example, on my test server, I've renamed the blue variant of Vitality "vitality_blue", so line 1 of that theme's ie6.css reads:
img#header-img { behavior: url(theme/vitality_blue/iepngfix.htc) }3.) make sure the path designated on line 14 of iepngfix.htc points to blank.gif relative to your root moodle folder (this is the one I'm thinking is wrong).
Using the same example as above:
if (typeof blankImg == 'undefined') var blankImg = 'theme/vitality_blue/pix/blank.gif';As long as those paths are correct, you should be just fine.
-
-
- CommentAuthorwebsmartdesign
- CommentTimeJun 29th 2008
Hi Patrick,
Thanks for your help on this so far. I have tried your suggestions and have not had any luck. Any other ideas?
Thanks
Martin
-
-
CommentAuthorptrkmkl
- CommentTimeJun 29th 2008
Let's troubleshoot. Send me the following files zipped via email:
- meta.php
- styles_ie6.css
- iepngfix.htcAnd, if you have renamed your vitality theme folder, I will need to know the name you've used.
-
-
-
CommentAuthorptrkmkl
- CommentTimeJun 29th 2008 edited
If you haven't renamed your theme folder, you will want to change line 1 in styles_ie6.css from:
img#header-img { behavior: url(theme/vitality_blue/iepngfix.htc) }to
img#header-img { behavior: url(theme/vitality/iepngfix.htc) }I have already made the fix in my post above. I'm sorry for the confusion.
-
-
- CommentAuthorwebsmartdesign
- CommentTimeJun 29th 2008
Thanks Patrick - that seems to have done the trick.
Just a note for anyone else reading this thread - on line 14 of iepngfix.htc points to blank.gif relative to your root moodle folder - the path should be 'vitality' as well, rather than vitality_blue,
Cheers
1 to 6 of 6

