border width to 1px?""/> border width to 1px?"" /> border width to 1px?"" /> border width to 1px?"" /> border width to 1px?"" />

This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

91 points
711aebfc30b06b4982ec97a0bbe80d51?s=140&d=retro
Submitted by
Michael
about 4 years ago

Bordering on Insanity problem: "Did you set your <td> border width to 1px?"

This is my code as well as most others and it doesn't seem to work for hardly anyone. It would be nice and we would all be so appreciative if we had a resolution explained to us.

td{
 border:1px dashed blue;
 }
td{
 height:50px;
 }
table{
 border:1px solid black;
 }

3 votes

permalink

table{ width:200px; border:1px solid black;}/Add your CSS below!/ td{height:50px } td{border:1px dashed blue;} this is work make table width then it's work

259 points
51b67e80282ae3ce76000a0d_20788340
Submitted by
rajinthan
almost 4 years ago

7 Comments

8e198ab5cf34c8fd098b0ec9d35494de?s=140&d=retro Peyman Kashani almost 4 years ago

I checked as you print here but every time I received same error. what can I do?

51b67e80282ae3ce76000a0d_20788340 rajinthan almost 4 years ago

table{
width:200px;
border:1px solid black;}
td{height:50px
}

td{border:1px dashed blue;}

i add this on stylesheet that's work

D1babcf834b8d56bd0773b039eef87da?s=140&d=retro kiex almost 4 years ago

Actually to me also works with that structure... a weird bug, i guess. But thanks by the way.

51b67e80282ae3ce76000a0d_20788340 rajinthan almost 4 years ago

thankx

Picture Jenny Wong almost 4 years ago

hmm it still doesn't work for me, please advice.

51b67e80282ae3ce76000a0d_20788340 rajinthan almost 4 years ago

press ctrl+0 thts zoom your page then ok

Picture Jenny Wong almost 4 years ago

??


2 votes

permalink

Hi Michael, could you explain what kind of error do you get and what browser you are using.
Border colors don't work with some older browsers. i tested your code with the latest Firefox, Chrome and IE and it worked for me.

Also, in order to really help you we need to have your original code posted because sometimes the error is somewhere else. To post your code, paste in, highlight it and then click the {} button until it is accepted. Then someone will be able to help.

By the way, having problems is actually a good thing, it makes us stop and think. I always welcome them myself. I'll help you if you give me more information.

2933 points
5533b41186f55278520000c6_295543857
Submitted by
tony de araujo
about 4 years ago

1 Comment

5177b4ff533b48c7480001e9_258355906 Tom about 4 years ago

I use IE at school and it doesn't work at all for me, the code I use is pretty much exactly the same as above and it doesn't work at all, a number of excersises on this site are bugged so they cannot be done >_< I appreciate the site is new and will have bugs but it needs to be fixed ASAP!


1 vote

permalink

H Tom, I'm sorry you are having difficulties and I'll be glad to help if I can. I have had some instances where I couldn't pass and by changing browsers I did. Other times it was my own mistake, i just couldn't see it at the time. If you look at my profile you will see that I have finished many of the programs which means that lessons can be done. I haven't found a course yet that I couldn't finish. We just need to be patient and look at every situation. Obstacles are part of web development. In a way, all these minor problems are actually a blessing because they force us to stop and thing before we rush to the next lesson. Please let me know if I can assist you in any way.

2933 points
5533b41186f55278520000c6_295543857
Submitted by
tony de araujo
about 4 years ago

2 Comments

8c955fba5e61e1f9378908d5dcb66b63?s=140&d=retro dan2andersongmail.com almost 4 years ago

Thanks for looking at this Tony, I get the same error "Oops, try again! Did you set your border width to 1px? Check all your opening and closing tags!"

I'm pretty sure I've got the right code, which I've copied below.

td{
height:50px;
border: 1px dashed blue;

}

table{
border: 1px solid black;

}

17c8c374e9b91c375b2087f03fe24869?s=140&d=retro Jesse Adams almost 4 years ago

same issue happening to me on new apple with chrome.


1 vote

permalink

Hello everyone,
In order to help anyone with a code problem I need the following information:
1- The lesson name and number.
2- A sample of your code
3- A specific error or the problem you are having
.

To post your code, paste it, highlight it and click on the {} button.
Once you post your code, lesson name and number and your problem, anyone would be able to help you and you will get a much faster and appropriate response.
Thank you so much for your understanding.

2933 points
5533b41186f55278520000c6_295543857
Submitted by
tony de araujo
almost 4 years ago


0 votes

permalink

1.Intro To CSS, Lesson 4 Selecting HTML Elements, section 2 Bordering on Insanity

  1. td{
    height:25px;
    border:1px dashed blue;
    }
    table{
    border:1px solid black;
    }

3.Oops, try again! Did you set your border width to 1px? Check all your opening and closing tags!

102 points
1d6588d8c2444f653812483ec87f6127?s=140&d=retro
Submitted by
hoaglund.michael
almost 4 years ago

2 Comments

5533b41186f55278520000c6_295543857 tony de araujo almost 4 years ago

change the height to what they ask for. See if it passes or if the error changes after that.

51b67e80282ae3ce76000a0d_20788340 rajinthan almost 4 years ago

table{
width:200px;
border:1px solid black;}/Add your CSS below!/
td{height:50px
}

td{border:1px dashed blue;}

this is work

make table width then it's work


0 votes

permalink

exactly the same problem for me..

389 points
Picture
Submitted by
Marcel Meinert
almost 4 years ago


0 votes

permalink

same problem here

326 points
78707c5a42feee89acab565a0ccacb5e?s=140&d=retro
Submitted by
Krista Brashear
almost 4 years ago


0 votes

permalink

it works for me with this code

td
{
height: 50px;

border:1px dashed blue;

}
table
{
border: 1px solid black;
}

265 points
54a820e0e39efe1c3400567e_785724943
Submitted by
Muhammad Abrar Naeem
almost 4 years ago

1 Comment

841588f98afccec780c3d6c21de56393?s=140&d=retro nelson silva almost 4 years ago

hello it work for me too on opera.


0 votes

permalink

td
{
height: 50px;

border:1px dashed blue;

}
table
{
border: 1px solid black;
}

updated to firefox 23 an it worked

333 points
Picture
Submitted by
Antonio Espinosa
almost 4 years ago