This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Elsa :)
over 10 years

how do i complete 7/26 on CSS: An Overview?

I need help on CSS: An Overview Forum CSS Syntax 2.1 Syntax for the wintax. I must not be approaching it correctly.

Answer 529cd4afabf82132d60009b7

6 votes

Permalink

This would be what you code on the CSS file:

p {
    color:green;
}

Also make sure your have a link to your CSS file on te HTML file head section:

<head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
points
Submitted by tony de araujo
over 10 years

1 comments

Ric Andrews over 10 years

Thank u so much

Answer 52af5c75548c3597430003ef

1 vote

Permalink

I’m also having the same problem with this.

I’ve done exactly as you suggested but keep getting the following message:

“Oops, try again. It looks like your paragraph isn’t green! Check the Hint if you’re stuck”.

Can you help me please?

points
Submitted by Dave Mac
over 10 years

1 comments

tony de araujo over 10 years

Hi Dave, below there is a text box labeled Add an answer. If you want me to look into your code, paste the whole HTML and CSS in there. Don’t worry if it does not display, i will fix that part when I return.

Answer 52b085988c1cccd21c002ac8

1 vote

Permalink

Hi Tony, Thanks for your kind offer of help, but I’ve just worked out what I was missing. In the HTML I was writing href=”stylesheet.css” instead of actually putting the webpage address inside the “ “.

 Regards,
 Dave.
points
Submitted by Dave Mac
over 10 years

1 comments

tony de araujo over 10 years

Great! Glad to know everything worked out for you. Thanks for getting back t me.

Answer 538335827c82ca9a310077ee

0 votes

Permalink

i did applied the same coding but color didn’t change to green and for the next exercise the font-size and font-family changed.Can u tell what could be done. This is my coding and it is link to stylesheet.css in html p{ color:green; font-family:Garamond; font-size:24px; }

points
Submitted by Anshuman S Rathore
almost 10 years

1 comments

tony de araujo almost 10 years

What is the lesson number?