Re:

by "Darrell King" <darrell(at)webctr.com>

 Date:  Mon, 5 Jun 2000 06:36:57 -0400
 To:  "Paul Lochbihler" <plochbihler(at)cinnabar.ca>
 Cc:  "HWG Techniques" <hwg-techniques(at)hwg.org>
 References:  magma
  todo: View Thread, Original
Couple of thoughts, Paul, and maybe some help...:)


1) try to accustom yourself to lower case tag names...save you headaches, as
XHTML requires it.  If you're just starting, its a good time to learn good
habits...:).

2) You have tried to span several tags with a font tag.  Try using the font
tag inside each li tag or p tag, instead of trying to catch them all at
once.  ol, li, etc are not legal inside font tags:

<.li><.font face="blah" size="blah">text goes here<./font><./li>

Note that the tags are nested properly, and that there is a closing li tag.
XHTML also requires that ALL tags that are not empty elements have a closing
tag.  Might be worth the time to make it a habit now...:).

BTW: the dots inside the tags are just there for this note, to keep the tags
from attemtping to display as HTML in those email clients that support such.

3) consider using a simple style sheet instead of font tags.  You can then
assign the properties you want only once, in the style sheet, to the li tag,
and have those properties propagate throughout the page:

<.style type="text/css">
li { background : white; color : #4A4A4A; font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 10pt; }
<./style>


D

----- Original Message -----
From: Paul Lochbihler <plochbihler(at)cinnabar.ca>


Good day (or evening) depending on your time zone.

This is my first post so please forgive any gaffs or errors.

I have been building a new design for our company web page and one of my
goals is to make it HTML 4.0 transitional compliant.  I have everything
fixed except for the following, which puzzles me:

The following is the output from running the  W3C validator;
--snip---
Below are the results of attempting to parse this document with an SGML
parser.
�       Line 177, column 22:
   <OL START="1" TYPE="1">
                         ^
Error: document type does not allow element "OL" here; missing one of
"APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

--end snip ---
I am confused about the requirements for an <OL>, why the need for the
mentioned start tags?  I have checked the docs on W3C for HTML
transitional, related FAQ and was lead to the mailing list.

I am using HotDog 5.5 as my editor, the site can be found at:
http://www.cinnabar.ca/cinnabar/look2/home.html

Any and all advice would be greatly appreciated.

Thank you in advance.

Paul Lochbihler

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA