...

View Full Version : CSS not appearing



BrianMc
04-12-2011, 05:04 PM
Hello,

I am in the initial, very initial stages of creating coding for a website, but for some reason the CSS for my page will not link with the html page. It works fine in dreamweaver, and in the source code for the index.html the link to the stylesheet goes to the right directory.

The website:
http://www.enterpriseappraisal.com/test/index.html

The CSS stylesheet:
http://www.enterpriseappraisal.com/test/style.css

I am assuming the host is fine because the old website on the same host links a stylesheet fine.
Thank you for any help or insights.

Excavator
04-12-2011, 05:11 PM
Hello BrianMc,
A typo in your CSS invalidates it.
See the links about validation in my signature line.

Error highlighted in red -
.style {body {
margin:0px; padding:0px;
background-color:#01436d;
}

BrianMc
04-12-2011, 05:15 PM
Thank you that was driving me crazy, I ran the html page through the validator but not the css. Thank you once again.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum