I have just finished Step 36 in this section and I am curious why the data is indenting.
Thanks to anyone who can help!
Are you referring to the bold text in the left-hand column? If so, those are using <th>
elements and by default most browsers automatically center the text in them. If you look at one of them in your browser’s dev tools inspector you will see that text-align
is set to center
(you might have to enable the dev tools to show the default browser styles).
Usually you would use what’s referred to as a CSS reset to get rid of all the default browser styles.
1 Like
Thank you! I didn’t see it as centered they looked nested to me.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.