Re: Validating dynamic sites
by "Keith Sellars" <Keith(at)webgraffix.com>
|
| Date: |
Sun, 15 Sep 2002 10:24:06 -0400 |
| To: |
<hwg-basics(at)hwg.org> |
| References: |
cox |
| |
todo: View
Thread,
Original
|
|
I think I know where this is coming from. There is an extra "STYLE" tag
that is being inserted by the POLL script that I'm running. The validator
is indeed correct in that it is improper. I will find the code and remove
it and that should take care of this issue at least.
Thanks,
Keith D Sellars
WebGraffix
www.webgraffix.com
"Making database sites seem easy"
----- Original Message -----
From: "Brian V Bonini" <b-bonini(at)cox.net>
To: "Keith Sellars" <Keith(at)webgraffix.com>; <hwg-basics(at)hwg.org>
Sent: Sunday, September 15, 2002 9:23 AM
Subject: RE: Validating dynamic sites
> What DTD are you trying to validate against? Can we see some markup or a
URL
> or something. I'd bet your style element error is due to improper
nesting...
> If your validating against the xhtml dtd remember that meta tags need to
end
> with />
>
> Your second error is correct, you will not ever get that to validate. A.)
> Use CSS to set margins and screw non-compliant browsers (my personal
> preference) B.) Leave the margin attributes in (it will not break
anything)
> and live with the fact that your page does not validate. C.) Run a browser
> detection script and deliver variations of the markup dynamically to
> accommodate the different UA's.
>
> -Brian
>
> > -----Original Message-----
> > From: owner-hwg-basics(at)hwg.org [mailto:owner-hwg-basics(at)hwg.org]On
> > Behalf Of Keith Sellars
> > Sent: Saturday, September 14, 2002 12:48 PM
> > To: hwg-basics(at)hwg.org
> > Subject: Validating dynamic sites
> >
> >
> > 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.