File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

There are no rules in this stylesheet

 
ravindra patil
Ranch Hand
Posts: 234
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting this "There are no rules in this stylesheet "


<html>
<link href="../input/styles/emxMCCUI.css" type="text/css" rel="stylesheet">
<body>
<div id="1" >

</div>
<div id="2">
</div>

<div id="3">

</div>
<div id="4">

</div>
</body>
</html>

and here CSS file



div#1{
width: 500px; background: red; padding: 10px;
height: 50%;
}

div#2{
width: 500px; background: gray; padding: 10px;
}

div#3{
width: 500px; background: green; padding: 10px;
height: 50%;

}


when i click on that link it takes me to CSS file still i am getting this error ,whats wrong in that
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Browser will issue no such errors. Where is this error coming from? If it's from an IDE, it's an IDE problem.
 
ravindra patil
Ranch Hand
Posts: 234
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i am using eclipse ..
do we need to clear cache ,browser setting if we modify .css file
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved here, to the IDE forum. It might help to be really specific about your Eclipse version and any plugins you might have installed.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic