Borders 9/25


I am not sure why this code isn’t working.
border: 4px solid;
border-color: #FF0000;
I placed this in the CSS file in the div section, and I can see a red border that is thicker than the default. Is this a bug? How do I enter it?

I need a little more information than what is provided; the CSS code you provided will do exactly as you’ve stated – create a red border that is 4px rather than 1px. What problem are you encountering?

i agree with jleco, please post full css code

There is conflicting border info already in the CSS for that one (I had the same problem). It’s already set the borders to 2px black solid. Just need to delete or edit the existing border line.

1 Like

What is wrong with it is the same thing that has been plaguing every problem that has to do with adding border to the code it always states the same bull that you have not entered the border. The only other trouble that I have encountered in this otherwise stellar tutorial is the specificity of the links. This border issue really needs to be looked at seriously it is extremely frustrating. My two cents.

1 Like

Oh you rock burkebc449 this fixed the problem changed the border to red After deleting the already posted code. Thank you.

  • {
    border: 1px dashed black;

  • {
    border: 1px dashed black;

div {
height: 50px;
width: 100px;
border: 4px solid #ff0000;
border-radius: 5px;
background-color: #308014;
margin:20px 50px 10px 5px;

Oops, try again. It looks like your border isn’t 4px wide.

I will lost my mind!!! even i tried -color, -style and -width same problem

make sure your browser zoom is set to 100% (ctrl + 0 or cmd + 0 for mac)


It was an issue of browser zoom, but I was able to fix it by going to firefox. I still couldn’t do it with 100% on chrome. Not sure why

Then it could be a issue of your browser sending cached data, and not browser zoom

1 Like

That works! finally…!!