Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Font problem with this very simple style settings. Please help! 1

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Howdy!

I have a style defined as

Code:
.navtitle 
{
font-size: 9pt;
font-family: Verdana, Arial, Geneva, Helvetica, sams-serif;
color: FFFFFF;
font-style: small-caps;
font-weight: bold;
}
.body
{ 
color : #000000;
font-size : 10pt;
font-family : Comic Sans MS;
scrollbar-face-color:#000066;
scrollbar-shadow-color:green;
}

Which is then then invoked by

Code:
<body class="body" bgcolor="#ffffff" leftmargin="10" topmargin="0" rightmargin="0">

<table width="100%" height="0" border="0">
 <tr>
  <td>
   <p><img src="smallogo.gif"</p>
  </td>
 </tr> 
 <tr>
  <td>
   <table bgcolor="#CCCCCC" border="0" width="92%">
    <tr>
     <td height="18" class="navtitle" bgcolor="#000066" align="center" valign="middle">

        Your Options

     </td>
    </tr>
 
    .....

The string "Your Options" should appear in allcaps and whith foreground. I get normal font on black. I use similar SS and it works fine but I cannot get this one to work.

I have looked at these 5 lines of code for days and cannot find the problem. I have compared with and even copied over other SS that does same (with bigger pitch).

I believe that I have had my had in the sand for too long now and I will never spot it regardless of how simple the answer might be. Your help will be truly appreciated.

Regards;


Jose Lerebours

KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Just as I posted my question, I found the answer to the color. I decided to change FFFFFF; for #FFFFFF; and that changed the color.

For the life of me, why does it work in other SS where identical syntax is used? I changed them all to make sure I have no surprises down the road.

Now, the question is why is fon-style: not producing the expected font style.

Thanks;


Jose Lerebours

KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Chris,

Thanks, that did it!


Jose

KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top