Tuto WEBDEV 25

156 Part 4: Internet site with data Managing styles To improve our page, we are going to modify the styles of controls. If you are working with a graphic designer or if a style book was defined for your site (style book of company for example), the styles have been defined in a CSS style sheet beforehand. We are going to import this style sheet into our WEBDEV project in order to use these styles. Remark WEBDEV proposes two types of styles: • the WEBDEV styles. • the CSS styles. A WEBDEV style is a set of CSS styles used to define a global style on high-level objects. For example, a WEBDEV style for an edit control will contain two CSS styles: • a style for the caption. • a style for the text of input area. Remark Reminder: When creating the site, you have the ability to choose a skin. The skins are used to standardize the visual aspect of a site and they allow you to easily change style. The skin provides the images, the fonts, the texture, the shape of buttons and the styles available for the project. You create sites with a professional style from the styles supplied in standard. Importing CSS styles is used for example to add a new style found on Internet. Importing a CSS style sheet ▶ To import the CSS style sheet into the project: 1.  In the ribbon, on the "Project" pane, in the "Project" group, expand "Import" and select "A CSS style sheet". 2.  The import wizard starts and proposes two options:

RkJQdWJsaXNoZXIy NDQ0OA==