1

I am trying to create a banner looking header for my page and I have trouble changing the font size within the table. When I change, all the fonts in the other tables in other webparts change also.

This is my code:

//style

table.mmm, th, td {
color: white;
width: 100%;
text-align: left;
font-size: 12px;
}

/style

/table class="mmm" bgcolor="#5582AB">
   /tbody> 
      /tr>
         /th> Month​
      </tr>
   /tbody> 
/table> 

What should I have done correctly? Also, is there a similar thing as in CSS?

Thank you!!

1 Answer 1

3

It should be

table.mmm th, table.mmm td { color: white; width: 100%; text-align: left; font-size: 12px; }

2
  • Got it...! Really appreciate the help! It's always something simple that gets me!!
    – Masarubae
    Commented Jun 13, 2019 at 17:54
  • Always, we(developers) used to hit the head against the floor for the simple things.
    – Xavi
    Commented Jun 13, 2019 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.