CSCI 4230
 Software Tools
 Spring 2000
 Homework #6

Due Date: March 8, 2000

(1)    Consider the following table:

s00h6(EmployeeId, LastName, FirstName, EMail, SupervisorId, Department)

with obvious meaning.  Write a CGI-Perl program to access the table and list directory information according to departments.  Within a department, the employees are listed under their supervisors, with their names as an email links.

For example, for the following instance of the table:

your page should look like:

Try to make your program to look as close to the screen above as possible.  There is no CGI parameter.

(2)    Consider the following HTML file h5q2.html:

<HTML>
<HEAD>
<LINK rel="stylesheet" type="text/css" href="h6q2.css" title="h6q2">
</HEAD>

<BODY>
<H1>A Table with only <STRONG>one</STRONG> cell</H1>
<TABLE BORDER=4>
<TR>
   <TD>Hello, this is a table cell.
   </TD>
</TR>
</TABLE>
<H1>Some text</H1>
<P>
This is basically random writing with no special meaning.
This is basically random writing with no special meaning.
<P>Some links:<BR>
<A HREF=http://nas.uhcl.edu/yue>Yue's Page</A><BR>
<A HREF=http://nas.uhcl.edu/davari>Davari's Page</A><BR>
<A HREF=http://nas.uhcl.edu/perkins>Perkins's Page</A><BR>
</BODY>
</HTML>

The file is rendered in Microsoft's IE as:

It is rendered in Netscape's Communicator 4.7 as:

Note that IE supports CSS-1 better than that of Netscape's Communicator.  Note that the first line of a paragraph should be in blue.  None of the two browsers currently support this feature.  Write the file h6q2.css to produce the browser display above as close as possible.

Here is the gif that you may need: