Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Strange Behavior on Netscape when using CSS


Message #1 by "Koala Lam" <koala@h...> on Thu, 15 Feb 2001 04:12:24
Hi,

   I have serious problems on CSS when used in Netscape !

   First, I couldn't change the background color of radio button. My HTML 
code are as follows:

  <table bgcolor="#000000">
  <tr>
   <td>
   <input type="radio" name="search_type" value="ALL" style="background-
color: #000000">
   </td>
  </tr>
  </table>

   REMARKS: it does work when I changed the color to any other colors
            besides BLACK !! Moreover, it sometimes work when I remove the 
            "bgcolor" attribute in the "table" tag but add it to the <td>
            tag instead.. What's WRONG ?

   Second, I couldn't change the font attributes in list box. My HTML code 
are as follows:

   <style>
   <!--
      
      .black { font-family: "Arial", "Helvetica", "sans-serif";
               font-size: 7pt;
               font-style: normal;
               font-weight: bold;
               color: #000000
      }

   //-->
   </style>

   .....

    <select class="black">
     <option value="TEST1">TEST1</option>
     <option value="TEST2">TEST2</option>
    </select>
 
   REMARKS: sometimes.. it does work on Netscape browser version 4.61 on
            another PCs .. but not on my PC .. I am also using Netscape 
            browser 4.61 on my PC !!!


   Last Question: I do think that there are problems on Netscape browser
                  Am I right ? How to fix it ? HELP !


   The problems memtioned above NEVER happened on IE 5.5

Koala

  Return to Index