CSS table borders

#1

Styling with CSS

This lesson talks about borders in CSS and then the instructions tell you to add data to the table- nothing about borders or CSS. Later at the end of this course the lesson titled “Styling with CSS” talks about " CSS properties you learned about earlier." -I didn’t learn any- did I miss something?

FAQ: Learn HTML Tables - Tables - Table Borders
#2

There is an example given in the lesson text for Table Borders. Be sure to read/re-read lesson text. What’s more, the current lesson gives the full code for exercise in the instructions. Just copy and paste in the style.css file.

#3

Thanks, didn’t know about the css heading, still not quite getting it but I’ll work on it. Thanks again.

1 Like
#4

sorry but the current lesson does not give out the full code for the exercise there is nothing to copy and paste and there is no example, frankly it’s pretty poorly explained

#6

I googled it and what I think the answer is is that you have to add
^style^
table, td {
border: 1px solid black;
}
^/style^

right below your opening ^table^ element. (The ^ are the respective greater to or less than symbols - it codes if I use them, so that’ll have to do.)