Jump to content

HTML / CSS stylesheet


Recommended Posts

hello!

 

I am new to coding and I am facing a problem creating an external style sheet.

I have a folder named "CINO", here I ave all my .html files

In this folder there is a folder, named "CSS". Here inside thereis the style.css file.

 

the coding goes like this, but in the browser there is no sign of a change. Could anyone help me to understand where I am overlooking a mistake?

 

 <!DOCTYPE html>
<html>
       <head>

           <link rel="stylesheet" href="/css/style.css" >
       <title>CINO</title>

   
        <h1>CINO</h1>
           <nav>
                <a href="About.html">About</a>
                <a href="Work.html">Work</a>
                <a href="Contact.html">Contact</a>
                <a href="Lab.html">Lab</a>

            </nav>

       </head>


<body>
visual strategies
</body>

</html>


///// CSS File

    body {

        font-family: Helvetica;
        font-size:1000px;
        line-height: 1.5;

        background-color: #d94958;
        color: #d99f01;
         margin: 40px auto 40px auto;
        width: 620px;
            }

    h1 {
        
     font-size: 24px;
     font-weight: 700;
    }

 

Link to post
Share on other sites

where's the ref to the cino directory in "/css/style.css"?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...