Re: Amaya RFE: Apply class window

I think what Batrolome says makes sense in his context, but
in general, we should not assume that we need CSS in order to
conveniently edit HTML, and we should not hard-code methodical
aspects (even if it's a very good methodology) into an editing
tool. But if this can be done as an option, it would be fine
by me.

Regards,    Martin.

At 20:14 06/10/31, Bartolome Sintes Marco wrote:
>
>Hi,
>
>>> In Amaya 9.52 for WinXP, the "Apply class" window shows all the classes
>>> defined in the html or css files. It would be nice if Amaya would show
>>> only the classes that apply to the selected element (as the Attribute
>>> window shows only the attributes that apply to the selected element).
>> The DTD says what attibute should apply or not to an element.
>> There is no restriction on class attribute values.
>> You may attach a class value to an element even if it doesn't already generate any CSS rule. And if you want you may add CSS rules later.
>
>I understand what you are saying, but myself I would prefer that the "Apply class" would show only CSS rules already defined in the CSS file. Perhaps experienced users do not make mistakes, but I have realized that my pupils are used to asign classes to the wrong elements. That's why I told them to define the class in the CSS file first and assign the class to elements later, in order to check each time they assign a class that everything is OK. If the "Apply class" was limited, I think that my pupils would make less mistakes.
>
>Best regards,
>Bartolom$Bq(BSintes (http://www.mclibre.org)
>


#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     

Received on Wednesday, 1 November 2006 04:45:31 UTC