Please help on easy CSS question.

May 8, 2018 4:45PM PDT

<p class = "Coolkids">Hello guys</p>
<p class = "Coolkids">Paganis' are fast and lightweight</p>
<p class = "Coolkids">Paganis' are exotic cars, and are actually <br>very expensive.</p>


-Please explain to me why this isn't working.

Discussion is locked

Reply to: Please help on easy CSS question.
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: Please help on easy CSS question.
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
- Collapse -
To me
May 8, 2018 4:48PM PDT

And I'm no guru it seems the style is to be applied to an object by name but you have class but no object.

Also, put your web page through the usual CSS and HTML checker tools.

- Collapse -
Re: css
May 9, 2018 12:33AM PDT

Works with me in Firefox, although the black text is very hard to read on the nearly black background.
But if I change the color to 160,160,160 I see three grey bars with black text on the left site.

What doesn't "work" with you?

CNET Forums

Forum Info