Code: Select all
.subOn {
background-color:#ffffff;
color:#FF0000;
border: 1px #FF0000 ridge;
separatorsize: 1px #FF0000 solid;
font-size: 10px;
font-style: normal;
font-weight: bold;
font-family: arial,helvetica,"san serif";
text-align: left;}
Then in the data file I have this
Code: Select all
with(subs=new mm_style()){
onclass="subOn";
offbgcolor="#ffffee";
offcolor="#8e8b96";
offborder="1 #041462 solid";
fontsize="10px";
fontstyle="normal";
fontweight="normal";
fontfamily="arial,helvetica,san serif";
}
Ruth
[why I am doing what I do is that netscape 4.79 doesn't read the class so, until recently it would read what I had listed in my style definitions for body. That was fine for the main menu which sits in a blank space, the menu in 4.79 looked like the background was the color of the page and the text was the font color [now link blue] but what happened in the submenus is that since it really WASN"T putting a color into the menu as a bgcolor, it was just sort of transparent, when a submenu opened, if it opened over any text area there was no background in the menu and the menu text looked like it was written right over the page text all blurred together. So, I just defined submenu colors. But, I was just trying to see if I could define off colors and then have an onclass which would be the colors I wanted and see if netscape would just keep the off colors that were already defined, however as soon as I tried to use onclass for on colors and leave the defned colors for off colors the onclass seemed to quit working.]