Link to home
Create AccountLog in
Avatar of Aleks
AleksFlag for United States of America

asked on

css simple align not working

I have the code below to style a table row, I want the center of each cell to be aligned to the center, but its not working:

.topbarsections {
      font-family: Tahoma, Arial, Helvetica;
      font-size: 11px;
      font-style: normal;
      text-align: center;
      font-weight: bold;
      color: #363636;
      background-color: #ECEEF4;
}

I am appying it as:

     <tr class="topbarsections">
            <td width="5%" >Select</td>
            <td width="10%" colspan="3">Actions</td>
            <td width="17%" >Form</td>
            <td width="59%">Description</td>
            <td width="9%">Filing Fee</td>
          </tr>
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Aleks

ASKER

It should work on the <tr>  ... ill check other css overriding this one thanks.