Recently, I had problems with IE loading movie pages. moviedb.css file was imported using the following code:

<style type="text/css" media="1">@import "/tv/modules/moviedb/moviedb.css";</style>

media="1" isn't valid so IE doesn't load this css file properly. I looked at the code which creates this entry in the page source and found the reason: drupal_add_css was called with missing parameters. So i just changed the following line of code in moviedb.module and it worked!

Find:
drupal_add_css($css,'all',true);
Replace with:
drupal_add_css($css,'module','all',true);

Comments

ultimatedruid’s picture

Status: Active » Closed (fixed)