Re: Validating dynamic sites

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

 Date:  Sun, 15 Sep 2002 19:46:34 -0400
 To:  <hwg-basics(at)hwg.org>
 References:  cox
  todo: View Thread, Original
http://www.schoolpad.net

The page above is now finally validated by W3C.  I have one question though
about something that was mentioned earlier.  If the page is viewed in NN 4.7
(not sure about other versions), you will see that the rounded purple corner
is pushed too far to the right causing a white gap in between it and the
left purple border.  This is because the body attributes (padding-left :
0px; and padding-top : 0px;) are not being recognized by the browser
version.  My question is this:  Is the size of the group of users that still
use Netscape version 4.x and below small enough to ignore?  I mean, I KNOW
that the reason that this is happening is mainly due to NN 4.7 not being in
compliance with the standard that I have validated, but in the end, the
users will think that the site (i.e., our design efforts) is at fault.

What is everyone's thoughts on this?  (Not only from a purely "by the books"
viewpoint, but also with some "real life application" thoughts thrown in?)

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.