When a style attribute is associated with an element, you can use that element as a model for creating or modifying a style rule by using the Create Rule command.
To create a generic style for an element or class:
Esc
key on Unix or the F2
on Windows to select
the enclosing element..
Note: You must select only one element and this element must have a style attribute.
style
element, in the document HEAD
, and all elements matching the
selector are displayed with the new style.When you create new classes with the Create Rule command, you can associate these classes with some elements in the document.
Amaya displays the selected elements with the style associated with the chosen class.
To associate a class with an element, you can also use the Attributes menu. This menu also enables you to delete a class attribute from an element or to change it (the class attribute is handled like any other attribute).