简体   繁体   中英

In firefox5 css style sheet is not applying for elements

In firefox4 css class are applying for elements but in firefox5 no class is applied for elements.

In firebug of firefox5 i am getting "This element has no style rules. You can create a rule for it."

Point to note is that css style sheet is loading in header properly in firefox5.

Please let me know to solve this problem....

Thanks in advance.

I'm going to take a wild guess and say that you should remove the charset declaration from the top of your CSS file.

This happened to me while I was learning D3js. I solve the issues with

<!DOCTYPE HTML5>

At first I had it without the 5. After that all were solved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM