6 Replies Latest reply on Jan 31, 2010 11:31 AM by Nancy OShea

    Table row color with CSS


      I'm making a table for guests to an event and I want the color to chance depending on the status

      (are they comming or not). I tried to do this with CSS using the class attribute but I cant get it to work.

      The changes are displayed in DreamWeaver but not in my browser (firefox nor explorer). Does anyone

      know what might be the problem?


      Here's the code;

      (in *.html)


            <table width="600" height="125" border="0" align="center" cellpadding="0" cellspacing="0" id="bjudna">
              <tr class="kommer">
                <td width="80" height="125"><p><img src="form/jokkmokk.jpg" width="80" height="80" alt="Jonas Hansson" /></p></td>
                <td width="210" height="125">Jonas Hansson</td>
                <td width="162" height="125">Väntar på svar</td>
                <td width="62" height="125"> </td>



      (in *.css)


      .kommer {
              background: #0C0;