Building the User Interface for a Web Site Indexing Application with Prototype
The Prototype JavaScript library makes it easy to perform certain JavaScript tasks. In this series of three articles, you will learn how to use the Prototype library to create an AJAX-powered application for handling the data for an index of web sites. This article, the first in the series, shows you how to create the user interface.
Building the User Interface for a Web Site Indexing Application with Prototype - Defining the look and feel of the web site indexing application: creating a few simple CSS styles (Page 3 of 4 )
In order to achieve the visual appearance that was shown in the two screen shots in the previous section, I'm going to define some straightforward CSS styles. As you may guess, these styles will be attached later on to the corresponding structural markup that integrates this web site indexing application.
Since this topic bears little discussion, please have a look at the following set of CSS rules, which logically are aimed at defining the look and feel of the program in question. Here they are:
As shown above, I defined a few simple CSS styles to improve the visual appearance of each element that composes the front-end of this web site indexing application. In particular, I created not only the layout for the all the containing DIVs that are part of the user interface, but also styled some additional elements, such as text areas and form buttons, paragraphs and links, and <h1> headers.
Logically, at this point you shouldn't have major problems understanding how the previous CSS styles were created, since they're very easy to follow. Therefore, and keeping in mind that defining the look and feel that corresponds to this application is a straightforward process that can be performed with minor efforts, let's move forward and see how all the CSS rules that were created previously can be annexed to the pertinent structural markup. Sounds pretty logical, right?
To learn how this will be done, please click on the link that appears below and keep reading.