문제

I've been using the excellent PrefixFree on all my sites recently, and in general it works like a charm. But today I discovered a very, very strange issue - on only a few pages of my site, when the script is present, an additional set of styles get loaded that conflict with the rest of the styles on the page and completely mess up the layout.

I cannot determine where these additional styles are coming from - they are not part of any of the stylesheets that I'm linking to on these particular pages. If I remove PrefixFree from the page or comment it out, they disappear immediately and everything displays correctly again.

As I understand it, PrefixFree works by looking for <link> and <style> elements on the current page and parsing them. So how on earth can it be causing additional styles to apply to the page that don't otherwise exist??

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top