Now that we’ve seen how to color cells and our table, let’s look at how to add some visual flair to the border by coloring it.
Let’s always return to our valuable example:
Now let’s color the border of the small cell at the bottom left:
Here is the code to use, which we will then comment on:
We used the bordercolor tag to color the border of the small cell. If you set the border to zero pixels, it is clearly impossible to assign a color… it’s obvious!
Pubblicato in HTML & CSS
Be the first to comment