Most of these properties have CSS equivalents. After you experiment with page formatting by using the editor properties, try to make changes to the PasswordWindow project CSS file to accomplish the same effects.
This lesson uses the following properties:
When you use properties, be aware of which widget you have selected in the editor. For example, if you change the font for a box, you change all text elements within the box to the new font. If you meant to change the font for a label only, you might end up with a surprise.
The first exercise use the logon1 program. The multiple boxes in this program make some aspects of the formatting clearer.
The following demonstration shows the steps involved in this task:
To format boxes using properties:
Be aware of your selection border. Your selection determines whether you change the format of a single element on the page or all elements within a container.
The following demonstration shows the steps in this task:
To format content by using properties:
This tutorial is not intended as a course in cascading style sheets (CSS). However, one example should give you an idea of how to use CSS with the EGL editor.
The following demonstration shows the steps in this task:
To format content by using CSS:
You also saw how you can use cascading style sheets instead of properties to format content.