iamlucky13
03-26-2005, 03:54 AM
I'm currently working on a small educational web page for an ASME web competition. (http://www.asme.org/students/competitions/technicalweb.html) (link is just information about the contest).
The rules require that the entry be given to the judges on a CD, and I expect that the computers will not be connected to the internet when judging the web page entries. Among my concerns, I'm worried that the computers will not have the proper DTD file cached and the pages will render in quirks mode, screwing up a few (admittedly minor) things, like margins in IE. Assuming I save a copy of "xhtml1-strict.dtd" (downloaded from w3.org) on the CD with my html files, does anybody know if the following doctype declaration will work?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
Also, is there anything else I should consider when authoring a page to be run from a CD?
Thanks!
The rules require that the entry be given to the judges on a CD, and I expect that the computers will not be connected to the internet when judging the web page entries. Among my concerns, I'm worried that the computers will not have the proper DTD file cached and the pages will render in quirks mode, screwing up a few (admittedly minor) things, like margins in IE. Assuming I save a copy of "xhtml1-strict.dtd" (downloaded from w3.org) on the CD with my html files, does anybody know if the following doctype declaration will work?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
Also, is there anything else I should consider when authoring a page to be run from a CD?
Thanks!