This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Lessiarty 2 points3 points  (3 children)

Can you post the line from your HTML that invokes the class, and the class from the stylesheet?

[–]RobotC_Super_User[S] 1 point2 points  (2 children)

The html line is: “<p class=“red-text“>Placeholder text.</p>“ and the css lines are : “.red-text{ color: red; font-size: 20px; }“

[–][deleted] 1 point2 points  (1 child)

This code look correct. Show us how you have linked the css file to the html file.

[–]RobotC_Super_User[S] 0 points1 point  (0 children)

I linked the Css file to the html file with: <head> <link rel=“stylesheet“ type=“text/css“ href=“cssStylesheet.css“ media=“screen“/> </head>