lundi 27 juin 2016

My CSS won't link to my HTML file


I am trying to build a simple website in Sublime Text Editor 2, however, my CSS file won't link to my HTML file and therefore printing plain text. My HTML code is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/       xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Christopher Olson</title>
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300,600,700" rel="stylesheet" />

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

As far as I know, the last line is supposed to link the CSS file.

This is part of the CSS that I have:

body, input, textarea
{
    font-family: 'Open Sans', sans-serif;
    line-height: 1.85em;
    color: #888;
    font-weight: 300;
}

Any ideas to fix? Please help

EDIT: I have the tags, I just ran out of room to post it


Aucun commentaire:

Enregistrer un commentaire