20. Bordering on Insanity-Black border will not show around table

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

https://www.codecademy.com/en/courses/web-beginner-en-TlhFi/3/2?curriculum_id=50579fb998b470000202dc8b#
<In what way does your code behave incorrectly? Include ALL error messages.>

```

table {
border: 1px solid black;
}

<do not remove the three backticks above>

You need to use the td selector to add a border to the cells

I miswrote the title of my question. The border around the table will not show.

What browser are you using? Your CSS is correct.

Chrome Version 48.0.2564.116 (64-bit)

No problem here (Chrome Version 49.0.2623.87 m) 64 bit.

ill update and post results.

Version 49.0.2623.87 (64-bit) Still no border.

Please post your complete CSS and HTML once more, so we can test with the full suite. Thank you. Should probably have asked which version of Windows? (I’m using 7 Professional)

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title></title>
	</head>
	<body>
		<table>
			<thead>
				<th colspan="3">Nine Blocks!</th>
			</thead>
			<tbody>
				<tr>
					<td></td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td></td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td></td>
					<td></td>
					<td></td>
				</tr>
			</tbody>
		</table>
	</body>
</html>
td  {
  height: 50px;
  border: 1px dashed blue;

table  {
    border: 1px;
}
table  {
    border: 1px solid black;
}

Thats what I had earlier. I do not know why it changed. I updated my code and still no black border.

What about,

table {
    border: 1px solid black;
}

That is now what I have.

With only one space?

I did not . Tried it. Still no border.

I’m knackered; just don’t know what to suggest.

Me neither. I am taking the rest of the night off from coding. I will tackle it tomorrow. Thanks for your time.

1 Like

I found my mistake. I forgot a curly brace after the td.

before
β€˜β€™β€™
td {
height: 50px;
border: 1px dashed blue;

β€˜β€™β€™

after

β€˜β€™β€™
td {
height: 50px;
border: 1px dashed blue;
}

β€˜β€™β€™