wrote
in message IIRC, FrontPage 98 used to automatically include a DOCTYPE, but
it
caused some issues and so that feature was removed when FrontPage
2000 was released. In FrontPage 2003, you can use the Code
Snippet
feature to add them, or you can do this:
http://www.spiderwebwoman.com/tutorials/doctypesolution.asp
--
~ Kathleen Anderson
Microsoft FrontPage MVP
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/
Hmmm. Interesting. Thanks. So how come FP doesn't do this
automatically?
Wally S
This is a valid doctype -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd">
<html>
It is placed right at the top of the page's code (as you can
see
above - it is above the <html> tag), and it tells the browser
how
it should render the code on the page.
In this specific instance, if you tried to create a 100% height
table on a page containing the doctype shown above, e.g.,
<table height="100%"...
the browser would just shrug, since table height is not valid
HTML.
The benefit of using doctypes is that it encourages you to use
standard HTML. By using standard HTML, you encounter many,
many
fewer rendering problems from one browser to the next, and from
one
platform to the next, then when you allow your pages to be
rendered
in quirks mode (i.e., without a valid doctype).
You can read more about doctypes (and probably fall asleep at
the
keyboard) by going to the W3C site -
http://www.w3.org.
--
Murray
Sorry to sound stupid, but what do you mean by a "valid
doctype"?
Wally S
However, if you have a valid doctype on the page, this will
fail.
--
Murray
You could put the entire page into a table, set the height
and
width to 100
percent, and put the cell in question at the bottom of the
table. Use no
cell spacing. Make the cell in question the bottom cell of
the
table and
assign it the background color you want. Then give all the
other
cells in the mother table the background color that is
currently
the background color
for the page.
Wally S
Hi - I'm building a website using FP2000. The last cell has
a
different
bg
color than the page bg. I would like this cell to be at the
very bottom
of
the screen display, so that none of the page bg is seen
below
this cell. When I initially view the page in my browser
(IE6.0), a strip of the page can be seen below the cell,
but
when I click on the browser's "Refresh"
button, this strip disappears. Is there any way I can
eliminate
this space
from being initially visible? Thanks.
http://www.wacweb.com/deviec/index.htm