• Post Reply Bookmark Topic Watch Topic
  • New Topic

There are no rules in this stylesheet  RSS feed

 
ravindra patil
Ranch Hand
Posts: 234
  • 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
Posts: 66153
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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
  • 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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!