Hi, i seem to be having great difficulty getting an external css to work with NVU. I am new to all of this and am only going on what i have read. This is what i done -
- named the file style.css (written in textedit, MAC OS X)
- Linked via this = <link rel="stylesheet" type="text/css" href="style.css"> in the head
I have also gone into NVU and selected CSS Editor under tools and selected the file and done it that way.
But it just does not want to work. Here is the css file incase there is something wrong in it (its from a tutorial of here)
- *
{
margin: 0;
padding: 0;
}
#body
{
background-color: #EEEEEE;
color: #00314A;
font-family: Tahoma, Arial, Verdana;
font-size: 11px;
}
#container
{
width: 700px;
background-color: #F5F5F5;
color: #00314A;
margin: 0 auto;
border: 2px solid #ffffff;
border-top: 0;
padding: 0 5px;
}
#heading
{
font-size: 23px;
font-weight: bold;
}
#main
{
width: 100%;
margin-top: 5px;
}
#left
{
display: inline;
float: left;
width: 340px;
}
#right
{
display: inline;
float: right;
width: 340px;
}
#clear
{
clear: both;
}
#copyright
{
width: 300px;
margin: 5px auto;
font-size: 9px;
border-top: 1px dashed #8D8D8D;
text-align: center;
}
#title
{
font-weight: bold;
margin-top: 5px;
}
#description
{
width: 100%;
border-top: 1px dashed #8D8D8D;
}
#right img
{
border: 2px solid #8D8D8D;
}
#right img:hover{
border: 2px solid #FFFFFF;
}
Many Thanks
Matt