- From: Steve Mulder <smulder@ziff.shore.net>
- Date: Thu, 23 Apr 1998 12:07:58 -0400
- To: "Dmitry Erman" <webmaster@gibbsnc.com>, <www-style@w3.org>
Hi - Minor things you might try: - Make sure FONT-FAMILY is always the last property specified. I remember having some problems (but I forget with which browser) if FONT-FAMILY wasn't last. - Avoid hyphens in class names. I don't know if that's a bug, but it's worth trying just in case. :-) - Add the attribute TYPE="text/css" to your <STYLE> tag. Then again, none of these things might be the cause of your problems. Let us know what you find out! steve At 08:35 AM 4/23/98 -0700, Dmitry Erman wrote: >We use 2 style sheets within all our pages. These style sheets cause IE on >the MAC to die with an error 02. I have traced this problem to the style >sheets but do not know what it is that is causing the error. > >The style sheets are incorporated into each web page using the <LINK> tag >inside the <HEAD> element. The following is the style sheet code we use. If >anyone can tell me if there is something in this code that is causing the >crash, I'd appreciate it. Or is it a bug in IE for the MAC? > >------- >First Style Sheet >------- ><STYLE> >P >{ > FONT-FAMILY: Arial, "Geneva", "Courier"; > FONT-SIZE: 10pt >} >H1 >{ > FONT-FAMILY: Arial, "Geneva", "Courier"; > FONT-STYLE: normal; > FONT-WEIGHT: bold >} >H2 >{ > FONT-FAMILY: Arial, "Geneva", "Courier"; > FONT-STYLE: normal; > FONT-WEIGHT: bold >} >H3 >{ > FONT-FAMILY: Arial, "Geneva", "Courier"; > FONT-STYLE: normal; > FONT-WEIGHT: bold >} >.PHeader >{ > COLOR: #070795; > FONT-SIZE: large; > TEXT-ALIGN: center >} >.Indent-One >{ > MARGIN-LEFT: 50px >} >.pIndent25 >{ > TEXT-INDENT: 25px >} >P:first-letter >{ > FLOAT: left; > FONT-FAMILY: Arial, "Geneva", "Courier"; > FONT-SIZE: 26pt >} >UL >{ > MARGIN-LEFT: 55px >} >.pCaption >{ > FONT-FAMILY: Arial, "Geneva", "Courier"; > FONT-SIZE: 8pt; > FONT-STYLE: normal; > FONT-WEIGHT: 800 >} >.LinkNoUnderline >{ > TEXT-DECORATION: none >} >.GibbsText >{ > FONT-FAMILY: Arial, "Geneva", "Courier"; > FONT-SIZE: 13pt >} >.ReduceSize >{ > FONT-SIZE: 11pt >} >.NegMargin >{ > MARGIN-TOP: -10px >} ></STYLE> > >------ >Second Style Sheet >------ ><STYLE> >A:link >{ > COLOR: blue; > FONT-FAMILY: Arial, "Helvetica"; > TEXT-DECORATION: underline >} >A:visited >{ > COLOR: purple; > FONT-FAMILY: Arial, "Helvetica"; > TEXT-DECORATION: underline >} >A:active >{ > FONT-FAMILY: Arial, "Helvetica"; > TEXT-DECORATION: underline >} >A:hover >{ > COLOR: maroon; > TEXT-DECORATION: underline >} >.linkspecial >{ > COLOR: white; > FONT-SIZE: 11px; > FONT-WEIGHT: bold; > TEXT-DECORATION: none >} ></STYLE> > > >Dmitry Erman >webmaster@gibbsnc.com > >
Received on Thursday, 23 April 1998 12:08:56 UTC