Defining page styles for a Web site - overview

You can create and apply styles to Web pages by specifying styles within individual Web pages or by using an external cascading style sheet (CSS). The advantage of using a CSS is that you maintain the contents (HTML files) and the design (the CSS) of the site separately, and this makes it easier to keep your site design consistent.

By sharing a style sheet, members of your Web development team can create Web pages in the same style. You can work with style sheets by using CSS Designer for .css files. CSS Designer shows the source of a CSS file and enables you to edit styles with the help of syntax highlighting and content assist. The modifications made in CSS Designer are immediately applied to the Design page of Page Designer if the HTML file has a link to the CSS file.

When working with style sheets, you should open the Styles view, by selecting Window > Show View > Styles from the Web perspective. The Styles view provides a list of style rules.

Related concepts
Cascading Style Sheet (CSS) Designer
Related tasks
Defining page styles for a Web site - overview
Creating style sheets
Editing style sheets

Feedback