Creating the Templates

The application in this chapter will use a new template design (not the Trouts R Us one from previous examples). This template makes extensive use of Cascading Style Sheets (CSS), creating a clean look without the need for images. It has tested well on all current browsers and will appear as unformatted text on browsers that don’t support CSS 2 (including text browsers like Lynx). The intended layout for this site (Figure 12.1) is derived from one freely provided by BlueRobot (www.bluerobot.com), a good source for CSS information.

Figure 12.1. The base design of this Web application.

To begin, I’ll write two template ...

Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.