<Glazblog/>

HTML attributes, inline styles or style rules

HTML attr inline styles style rules
<image border="0"
    src="...">
<img style="border: 0px none"
     src="...">
#myImage {
   border: 0px none;
}

<img id="myImage" src=...">

The successor to Nvu will let you create style rules instead of HTML attributes or inline styles when you create an element. It already works beautifully here. I'm still struggling to find a nice and simple UI metaphor though.

Comments

1. On Friday 26 September 2008, 03:16 by echidna

> successor to Nvu

no offense intended and im not trying to bug you, but how long until that happens? any guesstimate?

2. On Friday 26 September 2008, 06:17 by Eric Yerington

I'm curious as well....

3. On Friday 26 September 2008, 09:30 by Hish

I suggest three buttons: attribute, inline, css
when you click on an element, it checks whether it has an id, the style attribute or attribute definitions (width="20") and depending on this it highlights on the buttons. All further changes ar then made in this mode.
alt-click on a button copies the current values to the new mode (all styles are moved to css or vice versa)

4. On Friday 26 September 2008, 09:56 by Jean-Michel Reghem

any chance that this will avoid to dupplicate all the create id's for each element?
If the .css contains #myimage512 #myimage513 ... it will be a nighmare ...
Have you already think at some wonderful idea to how deal with it?

5. On Monday 29 September 2008, 17:12 by Evan

Suggestion: For class rules, provide a drop down 'style list' like MS Word and Open Office provide.