Ever since I added doctype the browser doesn't read the css???

liunx

Guest
to validate my code I added the lines:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

and also:

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />


But, ever since then my browser dosen't read the css file, what can I do??

Thanks in advanced, Oz.It would help if you told us what "your browser" is. If it's Firefox or family then your stylesheet is probably not sent with the correct MIME type, text/css.I'd start out making sure you're CSS file is still there and is located in the header section. Also, I noticed your charset=ISO-8859-1 is upper case. I don't know if it will affect things but when I use it my iso is lowercase.or even better: a linkwww.getcontractor.com

Please noticed that all the styles aren't working. :mad:Well you didn't close your link tag /> but that probably won't do it.It seems to be reading it fine. There are lots of CSS errors, though.here you might wanna fix those:
<!-- m --><a class="postlink" href="http://validator.w3.org/check?verbose=1&uri=http://www.getcontractor.com/">http://validator.w3.org/check?verbose=1 ... actor.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.getcontractor.com/">http://jigsaw.w3.org/css-validator/vali ... actor.com/</a><!-- m -->
 
Back
Top