Validating dynamic sites

by "Keith Sellars" <Keith(at)webgraffix.com>

 Date:  Sat, 14 Sep 2002 12:48:05 -0400
 To:  <hwg-basics(at)hwg.org>
 References:  means
  todo: View Thread, Original
Hi everyone.  Got a question for you.  I'm going through and validating a
heavily used dynamic site that we've designed using php.  I have a couple of
questions, some pretty basic and some not so basic (at least for me) on
validation:

ERROR 1)
<style type="text/css">
                              ^
Error: element "STYLE" not allowed here; check which elements this element
may be contained within

The style tag above is contained directly under a META tag which is directly
under a set of TITLE tags under my Opening HEAD tag.  Where should the STYLE
tag go?

ERROR 2)
leftMargin="0" topMargin="0"
                                         ^
Error: there is no attribute "LEFTMARGIN" for this element (in this HTML
version)

Should we NOT use leftmargin, topmargin, marginheight, and marginwidth
elements at all?  If not, how do we ensure the pages are aligned to the left
and top borders in Netscape?

Thanks,
Keith D Sellars
WebGraffix
www.webgraffix.com

"Making database sites seem easy"

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.