Rgb color definition in CSS

Teaching myself here to teach the students:
I expected that the body background would be red
It did not change
https://codeprojects.org/o5ZM6Q60-yNTn1rkohQ-aI56XPZFMKtgXoUGDafY9Ns
Thank you!

@koliner,

You have an extra space between the rgb and the parenthesis. Delete that space and it should work. With a space, it treats the statement like it has two values, rgb and (255,0,0). It can’t interpret either value, so it does nothing.

Mike

1 Like