4th Jul 2017, 9:34 PM
Ishaq Za'rour
8 ответов
+ 4
Delete the quotes of the values of the attibutes and write instead "background-color" instead of bgcolor; the last one does not exist in css. Like this: p { color: red; background-color: green; }
4th Jul 2017, 9:50 PM
jovanad92
jovanad92 - avatar
+ 3
Your CSS is not valid. You should write like above. p{ color:red; background-color:green; }
4th Jul 2017, 9:46 PM
Volkan Özdemir
Volkan Özdemir - avatar
+ 1
Thx Guyz it worked
5th Jul 2017, 6:30 AM
Ishaq Za'rour
0
delete body { and last } from your css.
4th Jul 2017, 9:39 PM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar
0
Sorry didnt get ure point
4th Jul 2017, 9:40 PM
Ishaq Za'rour
0
your css code should be like p { color: red; background: green; } you dont need to surround it in a body {}
4th Jul 2017, 9:43 PM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar
0
try red instead of "red"
4th Jul 2017, 9:44 PM
Oliver
0
in addition for external css file we don't put quotation marks to the values,the correct syntax is name:value; thats why @ Coder #1 they were telling you to write p{ color:red; background-color:green; }
4th Jul 2017, 10:43 PM
Raz
Raz - avatar