Finding a CSS Class Definition


seagull A couple of weeks ago I pointed out that you could easily find the definition of a property, method, variable, or class by right-clicking the item and selecting, “Go To Definition” from the context menu.

You can also use this feature in your ASPX files to find the definition of CSS classes.  However, you cannot use this to find definitions of rules.  And if the class is not defined, you will not see the menu option and you’ll get a green squiggly under the class and the tooltip will tell you that the class is not defined.

Other places talking about CSS and Visual Studio

Dynamically applying CSS based on browser’s resolution « Yanesh … – Create a new CSS file and name it 800.css. This CSS file will have styles for the 800×600 resolution. For this example I have chosen the background color as green and position of navigation bar on right hand side. …

Tips & Tricks for ASP.NET, IIS, and Visual Web Developer : Tip #28 … – … the same selector weighting wins; Visual studio (in my test) loaded the first file. – If an HTML element has many classes (space delimited, e.g. class=”class1 class2″, class2 cannot be found if you use .class1.class2 in your css …


Visual Studio 2008 CSS Support – Not Quite : b# – One of the often-touted new features of VS 2008 is the improved CSS support. I like having intellisense for CSS, sure, but I dont’ want to have a warning for classes that don’t exist…. like this: That green squiggly indicates a …

Tryangled Dev » Blog Archive » Visual Web Developer Enhancements – Visual Studio now provides tools that make it easy to work with cascading style sheets (CSS). You can design the layout and style content in Design view by using new UI tools such as the CSS Properties window. …

 

Other post in Did you know
Ads by Lake Quincy Media

Other Related Items:

Every Extend ExtraEvery Extend ExtraEvery Extend Extra PSP
Virtual Villagers 2: The Lost ChildrenVirtual Villagers 2: The Lost ChildrenCare for a group of abandoned children and nurture them into a thriving tribe! Guide them in learning how to survive in this real-time simulation game. They learn by doing, as they become expert farmers, scientists, doctors, and parents.
New VintageNew VintageWith a voice that really suits these classic songs and arrangements, the result is a fantastic and varied selection of some of the finest songs of the... Read More >

Related Post

One Response to “Finding a CSS Class Definition”

DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor