by PARoss » Tue Aug 15, 2006 10:35 pm
This is a good idea. But can it be integrated so that we can not only reference an existing class or id, but create one?
Maybe it could be linked to (or replace) the code that generates deprecated HTML. We can create CSS styling on an element, but the style is created "inline." And inline CSS is pretty much a violation of everything that CSS is trying to do (separation of content and presentation).
Unless I'm missing something, the Inspector treats the class=" as HTML, not as CSS. Yes, there are entries called "class" and "id" in the Inspector, but they don't suggest any existing classes, and they shouldn't be mixed in with HTML tags (IMO).
Again, what I'd like to do is to be able to create CSS classes and ids (not inline CSS) while working with HTML. Maybe it would need to have an associated Style Sheet open, or maybe it could create the class or id in the head -- that's a minor concern.
Phil