I use the following in my HTML document:
<link rel = "stylesheet"
type = "text/css"
href = "spread.css"/>
It is in the head. The file that I'm trying to link is "spread.css", and it is in the same folder as my homepage on my computer. I refered to it that way in the document so that I could just place both files in the same folder on the website and I couldn't have to worry about changing link names later.
Problem is, no CSS that I put into my CSS document transfers over to my HTML document when I run it in Firefox. What am I doing wrong? Here is what I have in my CSS File:
#left {
loat: left;
width: 20%;
}
#righ {
float: left;
width: 75%;
border-left: 3px double gray
}
#footer {
clear: both;
text-align: center;
border-top: 3px double gray;
}
body {
background-color: #000000
color: #BBBBBB
}
h1 {
background color: #FF9999
color: #FFFFFF
}
What am I missing? Should I add something to the CSS or did I mess up when referring to the document?
<link rel = "stylesheet"
type = "text/css"
href = "spread.css"/>
It is in the head. The file that I'm trying to link is "spread.css", and it is in the same folder as my homepage on my computer. I refered to it that way in the document so that I could just place both files in the same folder on the website and I couldn't have to worry about changing link names later.
Problem is, no CSS that I put into my CSS document transfers over to my HTML document when I run it in Firefox. What am I doing wrong? Here is what I have in my CSS File:
#left {
loat: left;
width: 20%;
}
#righ {
float: left;
width: 75%;
border-left: 3px double gray
}
#footer {
clear: both;
text-align: center;
border-top: 3px double gray;
}
body {
background-color: #000000
color: #BBBBBB
}
h1 {
background color: #FF9999
color: #FFFFFF
}
What am I missing? Should I add something to the CSS or did I mess up when referring to the document?