Border from table element not showing

CodePen.

This is the table:

And I’d like to have the default borders around but it doesn’t and I can’t figure it out. I checked with developer tools and I couldn’t find the problem.

Why is this happening?

yep it won’t appear because you didn’t specify the borders…

the <table> element doesn’t add borders by default …So you have to add them by yourself

you can use this code in your Css code :

table, td, tr{
  border: 2px solid #fff;
  border-collapse: collapse
}
2 Likes

I’m a naruto fan && I like your Idea <3

1 Like