Share this Page URL

Chapter 5. Defining Cascading Style Shee... > Using CSS Styles in Dreamweaver - Pg. 78

Defining Cascading Style Sheets 78 You'll use cascading style sheets (CSS) to control the appearance and placement of text and objects in your online learning application. In this chapter, you'll create a single set of CSS definitions that will globally affect every Web page in your Web site. This makes it easy to maintain and update your entire site by simply changing styles in a single location. Defining positioning and appearance using CSS is the method approved by the W3C, the Web standards organization. CSS offers a powerful and flexible way to apply styles to blocks of text, headings, and any HTML tag. It can make your Web pages more stream-lined and easier to read by describing lengthy definitions within CSS instead of at the tag level. CSS is part of an unofficial group of technologies called Dynamic HTML . There is a movement in Web development toward separating content and presentation in Web pages. In an online learning application, the content will usually be text, HTML code, and other objects, such as images or Flash movies. CSS controls the presentation of the content. There are compelling reasons for separation of content and presentation, such as accessibility and delivery to multiple devices. Ideally, you can create an online learning application to deliver to learners at desktop computers, and then deliver the same content to learners connecting to the course using cellular telephones by simply swapping in a different set of styles. When creating an online learning application, you'll gather a set of text styles and rules for posi- tioning objects on the Web page and put them in a .css file. Each Web page in your online learning application will link to the external script files and have access to the functionality they define. You do not need to know how to write CSS to use Dreamweaver; Dreamweaver has tools that will write the code for you. In this chapter, you will understand the following: · What Dynamic HTML and CSS are · How to create text styles (CSS)