Originally Posted by DanInMa
I jus tran your code through the validator and got 19 errors...... anyhow. your .css file does not need <style> elements in it
and on the footer should be like this:
align="center" is deprecated in xhtml, use css to center things
id must be in qoutation marks ( or not at all will technically work too but thats a bad ide) , you were missing one
Aha the missing quotation mark in the footer has fixed it along with the other tips... not sure exactly what it was but now it's working. How did you run it through the validator? I input it directly (copy&paste) and it says no errors
Also I know that the align in html is outdated, my book says so, it just hasn't gone into the new way of doing it yet
thanks for the help!
Originally Posted by hirelogo
Remove the ; from the div id's and classes(ie.<div id="nav"; >). I'm not sure why those are there nor do I think they are valid. I may be wrong and you may be working out a code I've never heard of, but if this is simple html and css remove them.
You don't use semi-colons in the actual website html or the external style sheet? My book says you need them in the style sheet (I think) and when I removed them and only them from the style sheet it stopped working properly. I removed them from the actual html and I think that helped fix the problem I was having.