Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 54

Tell us what’s happening:

Now target the th elements within your table body, and give them a width of the entire container, less 12rem.

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

tbody th{
  width:((100% - 12rem);
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Mobile Safari/537.36

Challenge Information:

Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 54

1 Like

Hi and welcome to the forum,
It would be better if you explained the problem in your own words. When you do operations like this inside a selector, you do it inside calc().
If you read the instructions, once you get the code wrong, they tell you how to use it.
Hope this helps.

1 Like

Yes thank you it worked

2 Likes