CSS in Dreamweaver

windows

Guest
I'm trying to link my style sheet into my pages that I'm creating in dreamweaver and it's not working...all my CSS has is background formatting, but this is my first time trying to use style sheets so maybe I'm doing something wrong...any help??

Code from the style sheet:
.main {
background-attachment: fixed;
background-image: url(images/bgtruck.jpg);
background-repeat: no-repeat;
background-position: center center;
border: none;
}

Code in header linking to style sheet:
<link rel="stylesheet" href=http://www.webdeveloper.com/forum/archive/index.php/"Template.css" type="text/css">need a link to your page or full html and full css- better use small caps for src files

<link rel="stylesheet" href=http://www.webdeveloper.com/forum/archive/index.php/"template.css" type="text/css">

and give the external file name with small caps

- have you verify the url (is the css file really in the same folder)?
- have you other CSS on the page?It's not really clear whether you mean within DW or on your site.Try using single brackets:

background-image: url('images/bgtruck.jpg');

Greetz !
 
Back
Top