.oO(dross202)
Quote:
I have begun redesigning my website - its more or less a graphic design
portfolio site that I'm going to use to help get a job. I only have the index
page online so far but I'm just not sure which doctype to use. |
If possible use HTML 4.01 Strict. If you still have to use deprecated
elements/attributes then go with HTML 4.01 Transitional.
Quote:
I'm on mac and have tested in several browsers and
everything looks as planned, but I checked it out today on a pc and some of the
css was a little off. I'm thinking thats maybe because I currently have no
doctype and ie6 is rendering the css as an older version? |
Without doctype IE renders the page in quirks mode.
Doctype switching and standards compliance: An overview
<http://gutfeldt.ch/matthias/articles/doctypeswitch.html>
Quote:
I know the code isnt
perfect but I'm learning. Thanks http://davidrossdesign.us/ |
Have a look at this:
<http://validator.w3.org/check?uri=http%3A%2F%2Fdavidrossdesign.us%2F&chars et=%28detect+automatically%29&doctype=%28detect+au tomatically%29&ss=1>
The real error is the trailing slash in line 16.
You should also change the alt-attributes of your navigation links.
Something like "Link to home page of David Ross Design." makes no real
sense - why should the visitors link to it?
<http://www.delorie.com/web/lynxview.cgi?url=http://davidrossdesign.us/>
Why not simply use "home", "about", "portfolio" etc. for the alt-texts?
Micha