Download & Extend

IE issue with location of "@import bookreview.css"

Project:Book Review
Version:master
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:active

Issue Summary

Internet Explorer frowns and displays the following message: "@import bookreview.css" at the top of the page, and then continues rendering the page. The problem does not appear with Firefox.

After looking at how other modules work, it seems like the importing of the css file should be within the [modulename]_page function, so this patch does exactly this: moves the offending code around. IE does not seem to complain after applying it.

AttachmentSize
bookreview.module.style_definition.patch1.06 KB

Comments

#1

Status:needs review» active

That won't work, as then the css is only displayed when displaying a list of bookreviews, not when displaying an individual bookreview.