So far, we’ve used styles only at their most basic level: changing one item at a time. But if you want to give your site a consistent look and feel, styles can help you out. You can change all level 2 headings, for example, to be aligned right without going to each level 2 heading.
You can make global changes to all tags on one page, or to all tags on a collection of pages. In each case, you will need to be in “HTML Source” mode.
- Changing Everything on a Page
- The changes that we are making go into the head of the document. They must go between <head> and </head>. I recommend putting them just before the </head>.
- Changing Everything on a Site
- If you have a web site composed of many pages, styles let you change display characteristics for all of your pages by changing them once in a single file. Changing everything on a site is both easier and harder than changing everything on a page. It’s easier because you only have to add one line to each of your pages. This line will tell the browsers to load a “style sheet” when they load that page. But you do need to keep that style sheet available.
- Style Sheet Editor
- The HTML Source view in Netscape Composer lets you change styles only if you already know the style names and values to type. If you want to make easier use of styles in a style sheet for your page or site, you can install a style sheet editor directly into Netscape Composer. Go to http://cascades.mozdev.org/ and install the latest version of CaScadeS. The link will install it directly into Netscape Composer, so you’ll need to visit the page…