I noticed something. If I use IE, nothing is working. The texts are all white. However, if I use Mozilla Firefox, the a.hover color, #990000, shows up instead of the submenu.hover color of white, #FFFFFF.
What's going on? Is it a browser problem?
What I wanted is, if it is simply a hyper texts link then I want the a.hover color of #990000 to show when mouse over as stated in the CSS file. However, when I specified the class to "submenu" I want the sumenu.hover of white, #FFFFFF to show up whem mouse over as is in the CSS file. But it's not doing this.
Here's the page
http://www.uwstout.edu/alumni/alumnPhot ... n=archived
And here is the body tag that generates the menu texts.
Code: Select all
<?
if ($btnClicked == "archived"){
$numOfCells=1;
$bgColor = "#05A1C4";
$totoRows_rsRecords = $totalRows_rsArchived;
$rsRecords = $rsArchived;
}
elseif ($btnClicked == "current"){
$numOfCells=1;
$bgColor = "#51af7b";
$totoRows_rsRecords = $totalRows_rsCurrent;
$rsRecords = $rsCurrent;
}
if ($totoRows_rsRecords >0){
if ($numOfCells ==1){
echo "<br>";
echo '<table width="620" border="0" cellpadding="0" cellspacing="0" bgcolor="'.$bgColor.'">';
$numOfRows = 1;
$numCellsFilled = 1;
}
while($row_rsRecords = mysql_fetch_assoc($rsRecords)){
if ($numOfRows == 1){
echo '<tr class="bodycopy">';
$numOfRows = 0;
}
$dscription = $row_rsRecords["description"];
$sectID = $row_rsRecords["sectionID"];
if ($numCellsFilled <= 2){
echo "<td width='206' align='center'><a href=$self?sectionID=$sectID class='submenu'>".$dscription."</a></td>";
echo '<td width="1">|</td>';
$numCellsFilled++;
}
elseif($numCellsFilled ==3){
echo "<td width='206' align='center'><a href=$self?sectionID=$sectID class='submenu'>".$dscription."</a></td>";
echo '</tr>';
$numCellsFilled = 1;
$numOfRows = 1;
}
}
echo '</table>';
}
?>
ljCharlie