+ 7

How to put black borders in the divisions??

https://code.sololearn.com/WHSVqhw98Vni/?ref=app What all can I do to make it better??

28th May 2020, 12:49 PM
Namit Jain
Namit Jain - avatar
7 ответов
+ 4
It should be either this way body div{ border:3px solid black; } Or this way body{ } div{ border:3px solid black; }
28th May 2020, 1:06 PM
Abhay
Abhay - avatar
+ 2
Yes this is also css you have used in your code style = "color:blue;background:lightgreen but this is inline css place that div tag outside body
28th May 2020, 1:01 PM
Abhay
Abhay - avatar
+ 2
Abhay Thank you so much!!!!!!
28th May 2020, 1:09 PM
Namit Jain
Namit Jain - avatar
+ 1
div{ border:3px solid black; } Does this helps?
28th May 2020, 12:55 PM
Abhay
Abhay - avatar
+ 1
Is this css??
28th May 2020, 1:00 PM
Namit Jain
Namit Jain - avatar
+ 1
No its not doing anything... Do I have to change anything in my html code to make this work
28th May 2020, 1:02 PM
Namit Jain
Namit Jain - avatar