Forum Moderators: not2easy
please dont laugh at my question!
Im trying to figure out how to create an external style sheet. When i preview in browser i get nothing. WHY?
here is the simple css i put together in a file called main1.css
div {
border: 1px solid Black;
}
body {
margin: 0 auto;
width: 700px;
}
#navigation {
float: left;
width: 150px
}
#content1 {
float: right;
width: 150px;
}
#content2 {
margin-left: 152px;
margin-right: 152px;
}
#footer {
clear: both;
}
and here is how I have set up my page that is supposed to link to it:
<link rel="stylesheet" type="text/css" title="style" href="main1.css" media="screen" />
It may sound silly but what is happening and why am I not getting anything?
Thanks geoff
not sure why its not working.
the css file is in the same folder too.
does a CSS file need to be uploaded onto server for it to work? at the moment I have the css and the page that im wanting the css to work on just on my computer system!
geoff