Some ASP.NET Goodies in VS 2008

Today we’ll look at a few new goodies on the web development side of Visual Studio 2008.  You may have heard that we finally get split view so we can see the designer and the HTML at the same time.  Or maybe you want to know just how well that JavaScript intellisense works.  Have you seen the new CSS integration?  This is really cool.  And frankly, it does something Dreamweaver should have been doing years ago.  So, let’s get started.

(more…)

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

Monday, November 26th, 2007

Why CSS Rules are Evil in ASP.NET

Anyone familiar with CSS knows that classes are generally reserved for controlling how an element looks (font, color, size, etc) and rules are generally reserved for where the element is positioned on the screen.  The reason for this is that rules correspond to the id attribute of the elements on the screen and if you are using well formed html, you can only have one element on the page with any specific ID.  That is, IDs are unique.

However, ASP.NET uses that exact same feature of IDs… that they are unique.. to ensure that an ASP.NET control or an HTML control with the runat=”server” attribute set also have unique IDs, and this is where all the problems start.

(more…)

Friday, November 16th, 2007

Experiments with cascading style sheets

Every once in a while, I like to use StumbleUpon to see what’s out there.  Tonight, I found this site.  This is probably the best CSS site I’ve seen yet.  Not just a bunch of how-to articles, but a lot of practical working examples that you can use right now.

Experiments with cascading style sheets

Technorati Tags:

del.icio.us Tags:

Wednesday, October 31st, 2007