Tuto WEBDEV 25
278 Part 7: Specific Web features Overview WEBDEV allows you to "design" your sites. To help you with this task, WEBDEV proposes to use two types of styles: • The CSS styles, • The WEBDEV styles. Using styles for your controls presents a huge benefit: a modification performed in a WEBDEV or CSS style is automatically applied to all controls that use this style. Discovering styles Before using the styles, let’s see their application support: the controls. A control: several elements Each WEBDEV control includes several elements. ▶ Let’s consider the edit control for example. This control includes three elements: • the caption. • the input area. • an additional area containing the caption and the input area. ▶ How are the styles applied to the edit control? The mode for applying styles depends on the type of style used (WEBDEV or CSS). • The CSS styles in WEBDEV will be applied to the control elements . For the edit control, a specific CSS style can be applied to the caption of edit control or to the input area. • The WEBDEV styles will be applied to the entire control . A WEBDEV style includes several CSS styles. For example, on the edit control, the WEBDEV style contains: • The CSS style for the caption, • The CSS style for the input area, • The different style options for the global area of control.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==