NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
stylesheets tag problem


Joined: 10 Jun 2005
Posts: 2
Reply with quote
Let me start by saying that I love this IDE, everything is very well integrated (CVS, database, and Help/Manuals), and it makes working in my favourite web scripting language (php of course =) all the more enjoyable..

But one thing I recently discovered has me perplexed...

Currently, if I go "File" -> "New" and select "New Style.css" to open a style sheet it populates it with the folowing:

Code:
<STYLE type="text/css">
BODY, TD {

}

A {
}

A:Hover {
}
</STYLE>


Great, but the problem is that stylesheets themselves are NOT supposed to contain <STYLE> tags. Browsers will not interpret the css info if these tags are in the stylesheet.

Well, silly, just remove the tags you say?

Sure, but then I lose all intellisense functionality in my CSS. I thought this functionality would be based on the file extension (as well as tags for style embedded directly in html obviously) ???

Am I missing something? Is there some way to get intellisense back in stylesheets without adding the <STYLE> tags back in?
View user's profileFind all posts by boomerSend private message


Joined: 20 May 2004
Posts: 81
Reply with quote
Highlighting works fine for me as long as file has .css extension. And you can modify default template file, the CSS template is located at template directory.
View user's profileFind all posts by mblshaSend private message


Joined: 10 Jun 2005
Posts: 2
Reply with quote
Indeed, the code hilighting works. I am referring to the "Intellisense" (sorry for the MS terminology) or "code-completion" functionality stopping once the <script> tags are removed from the external css file.
View user's profileFind all posts by boomerSend private message


Joined: 20 May 2004
Posts: 81
Reply with quote
Yes, this seems to be the case. The issue is added to our bug-tracker now.
View user's profileFind all posts by mblshaSend private message
stylesheets tag problem
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic