Introduction
You should read this tutorial if you want to develop a theme to manipulate Mozilla or Netscape's user interface, and want to quickly learn about all the component technologies that are used during the construction of a theme.
The tutorial assumes you understand how to navigate an image editor and that you possess a basic knowledge of XML and Cascading Style Sheets (CSS). I'll explore each one of these technologies in detail in this tutorial. You do not need a programming background or a deep understanding of Mozilla. The tutorial walks you through the underlying files so you can quickly grasp how to create your own custom theme.
You will find the tutorial easier to follow if you have Mozilla 1.3 installed, configured, and running. (Download it at www.mozilla.org.)
In this tutorial, you learn how to construct a theme to manipulate the user interface of Mozilla and other browsers based on the same code base. This tutorial explores the following topics:
-
The themes. This section surveys the basic concepts of a theme and reviews some example themes created by other authors. Additionally, this section explores some of the limitations of what can and cannot be customized within a theme.
-
The themes' components. To fully understand how themes can be customized, you need an understanding of each of the core technologies. This section provides a brief introduction to each of the components that make up a theme.
-
Create a working theme. This section provides the details of how to configure your workstation to develop a theme with Mozilla 1.3.
-
Create new resources. This section explores how to customize the Modern theme that ships with Mozilla 1.3. Additionally, this section shows how to create new resources that can be easily integrated within a new or existing theme.
- Packaging and installing the theme. Before you use a theme and distribute it to users, a theme must be packaged. This section walks through the steps necessary to understanding how to package a theme and create a custom install script that can be posted to a Web server.
The following tools are necessary to follow the examples in this tutorial:
- Mozilla 1.3, which supports several different operating systems and is available at http://www.mozilla.org/.
- The Java 2 Software Development Kit 1.4.1_01, which is available at http://java.sun.com/j2se/1.4.1/download.html.
- Any image editor or viewer that supports the GIF file format.
- Any text editor.

