This forum is now read-only. Please use our new forums! Go to forums
'Rock Your Selectors' (4/23)
Hi guys, I’m stuck on this page, like a few others. How can I get round this?
p { color: #00e5ee; } div p { color: #cc0000; }
- { border: 2px solid; color: #3a5fcd; } (BTW that is actually an asterisk that shows as a dot on here.)
Answer 52a0b2998c1ccc50d1004560
7 votes
p{ color:#00E5EE; } div p{ color:#CC0000; } *{ border: 1px dashed #3A5FCD; }
Answer 529d166babf8213b4c000776
5 votes
* {border: 2px solid;border-color: #3a5fcd;}
border color, not border
3 comments
stetim94 over 10 years
* { border: 2px solid #3a5fcd; }
i would even use this one, much easier
Russell over 10 years
Thanks, I see where I went wrong. :)
Ray about 10 years
Don’t get it! Had the identical line but kept getting “RBrace expected in line 9 Col 21” .Cut and pasted stetim94 line and it worked. Thanks stertim
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
2 comments
4/23 css overview
Why only one div?