.NET Answers

ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.
Subscribe
  • Home
  • About Me
  • Advertising
  • Click Here to Ask a question
    • Privacy Policy
  • Site Map

Finding a CSS Class Definition

December 03, 2008 By: Dave

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
  • Did you know - Zip is built into .NET? - August 21st, 2008
  • Panel DefaultButton does not work - September 23rd, 2008
  • Automatic Implementation of Interfaces - October 1st, 2008
  • Easily Find Classes, Methods, and Variables - November 17th, 2008
  • Advantages of Using Class Diagram - November 20th, 2008
  • Renaming Properties, Methods and Variables - November 25th, 2008
  • Finding a CSS Class Definition - December 3rd, 2008

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Related Post

  • if IE Conditional CSS using ASP.NET Themes
  • ASP.NET Web Design Software
  • Two CSS Files When Using ASP.NET Themes?
Bookmark to:

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone Add to Facebook Add to Slashdot Add to Stumble Upon Add to Technorati
Hide Sites
Tags: asp.net, aspx, class, css, visual studo

One Response to “ Finding a CSS Class Definition ”

  1. # 1 Dew Drop - December 4, 2008 | Alvin Ashcraft's Morning Dew Says:
    December 4th, 2008 at 9:06 am

    [...] Finding a CSS Class Definition (Dave M. Bush) [...]

← jQuery – Events
Delegates in .NET →
  • Search

  • Subscribe

    U COMMENT
    I FOLLOW

    Subscribe in a reader

    OR

    Subscribe via e-mail

    Enter your email address: 

    Delivered by FeedBurner

     

  • Follow Me

    • Twitter
    • FaceBook
    • Digg
    • StumbleUpon
    • Propeller
    • Delicious
    • Plaxo

     

  • Recent Posts

    • ASUS Eee PC 1005HA-PU1X-BK Black Netbook
    • jQuery – Date Picker
    • Using VB.NET From CSharp
    • iTextSharp – Adding Images
    • Hungarian Notation – Use What Works, Spit Out The Bones
    • Pre Order Windows 7
    • jQuery Dialog – With Validation Controls
    • iTextSharp – The easy way
    • Structure of my ASP.NET Web Applications
    • 35% Off Accronis True Image 2009 Home
    • VB.NET Hide Module Name
    • ASP.NET/VB.NET – Video Training
    • Does jQuery Make Us Lazy?
    • PDFs Using iTextSharp
    • Programming SEO – Ping



  • Advertise on this site through Lake Quincy Media
  • DotNetNuke Sponsor

     

    Most Valuable Blogger
  • Sponsor

  • Categories

    • Advanced CSharp
    • Advanced VB.NET
    • ASP.NET MVC
    • Did you know
    • DotNetNuke – Module Development
    • DotNetNuke – Skinning
    • internationalization
    • iTextSharp
    • jQuery
    • none
    • Seach Engine Optimization
    • Silverlight
    • SQL For Programmers
    • Twitter
    • winforms
  • Cloud

    .net ajax architecture asp.net book books containers csharp css dal dataset datasets dotnetnuke events gridview images internationalization internet explorer javascript jQuery json linq listview modules ms-sql MVC objectdatasource programming reflection seo Silverlight skinning sql testing tsql tutorial Twitter twitterizer vb.net video view Vista visual studio webservice WordPress
  • Archives

    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
    • Privacy Policy
  • Calendar

    December 2008
    S M T W T F S
    « Nov   Jan »
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • Blogroll

    • Alvin Ashcraft’s Morning Dew
    • ASP.NET Consulting
    • Life Hacker
    • Remember Anything
    • The Price of Their Toys
    • Uncategorized Thought


.NET Answers © 2007 - 2008 All Rights Reserved.
Entries and Comments.