Zero Bottom Margin?

O

Oscar

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
 
W

Wally S

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
 
M

Murray

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.
 
M

Murray

Actually, the code snippet also inserts a broken doctype! 8(

To be valid it must include both lines as I showed, one of which has the url
link.
 
W

Wally S

But I gather from a previous post that some of the html that FP uses, like
table height & width won't work if you use a doctype.

Wally S
 
M

Murray

Yes - if you use a valid doctype, that's correct. But the trick is to know
what doesn't work, and then avoid it.

For example, since table height will not work, you must either not design in
such a way that this is your only alternative, or try to work around the
problem with CSS. Here's an example -

http://www.apptools.com/examples/tableheight.php
 
R

Ronx

Using the Loose doctype, table width will be honoured, table height may be
ignored (depends on browser, but it is illegal HTML). Have still to check
what happens with a Strict doctype, but width should be implemented by CSS.

Ron
 
W

Wally S

I don't use table height anyway (sour grapes), but I use width. I guess I'll
have to look into this. Never too old to learn (sigh).

Can someone tell me what would be the right doctype statement for me? I'm
using FP 2003, and all my pages are just plain old html. The url is
www.dipika.org. Would be much appreciated.

Thanks everyone.

Wally S
 
W

Wally S

And if anyone is still reading this thread, my thanks to everyone who gave
all this info.

Wally S

Wally S said:
Thanks. Now I have something new to play with.

Wally S.

Murray said:
This one is for loose standards, if you want to use one....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


You can read about the others at the W3C site - http://www.w3.org

--
Murray

Wally S said:
I don't use table height anyway (sour grapes), but I use width. I guess
I'll
have to look into this. Never too old to learn (sigh).

Can someone tell me what would be the right doctype statement for me? I'm
using FP 2003, and all my pages are just plain old html. The url is
www.dipika.org. Would be much appreciated.

Thanks everyone.

Wally S


Using the Loose doctype, table width will be honoured, table height may
be
ignored (depends on browser, but it is illegal HTML). Have still to
check
what happens with a Strict doctype, but width should be implemented by
CSS.

Ron
--
Reply only to group - emails will be deleted unread.


But I gather from a previous post that some of the html that FP uses,
like
table height & width won't work if you use a doctype.

Wally S


Yep - have already done that. 8)

--
Murray

in
message Agreed. However, the code snippets can be edited:
http://office.microsoft.com/en-us/assistance/HP010278741033.aspx
You
can
also create new ones:
http://office.microsoft.com/en-us/assistance/HP010278721033.aspx

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/


Actually, the code snippet also inserts a broken doctype! 8(

To be valid it must include both lines as I showed, one of which
has
the url link.


"Kathleen Anderson [MVP - FrontPage]"
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
 
M

Murray

Go for it, Wally!

--
Murray

Wally S said:
And if anyone is still reading this thread, my thanks to everyone who gave
all this info.

Wally S

Wally S said:
Thanks. Now I have something new to play with.

Wally S.

Murray said:
This one is for loose standards, if you want to use one....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


You can read about the others at the W3C site - http://www.w3.org

--
Murray

I don't use table height anyway (sour grapes), but I use width. I
guess
I'll
have to look into this. Never too old to learn (sigh).

Can someone tell me what would be the right doctype statement for me? I'm
using FP 2003, and all my pages are just plain old html. The url is
www.dipika.org. Would be much appreciated.

Thanks everyone.

Wally S


Using the Loose doctype, table width will be honoured, table height may
be
ignored (depends on browser, but it is illegal HTML). Have still to
check
what happens with a Strict doctype, but width should be implemented by
CSS.

Ron
--
Reply only to group - emails will be deleted unread.


But I gather from a previous post that some of the html that FP uses,
like
table height & width won't work if you use a doctype.

Wally S


Yep - have already done that. 8)

--
Murray

in
message Agreed. However, the code snippets can be edited:
http://office.microsoft.com/en-us/assistance/HP010278741033.aspx
You
can
also create new ones:
http://office.microsoft.com/en-us/assistance/HP010278721033.aspx

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/


Actually, the code snippet also inserts a broken doctype! 8(

To be valid it must include both lines as I showed, one of which
has
the url link.


"Kathleen Anderson [MVP - FrontPage]"
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
 
W

Wally S

Thanks. Actually, I decided to go for strict. Why not shoot for the moon?
And it has required only a little bit of tweaking to get everything back in
order.

Thanks again.

Wally S

Murray said:
Go for it, Wally!

--
Murray

Wally S said:
And if anyone is still reading this thread, my thanks to everyone who gave
all this info.

Wally S

Wally S said:
Thanks. Now I have something new to play with.

Wally S.

This one is for loose standards, if you want to use one....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


You can read about the others at the W3C site - http://www.w3.org

--
Murray

I don't use table height anyway (sour grapes), but I use width. I
guess
I'll
have to look into this. Never too old to learn (sigh).

Can someone tell me what would be the right doctype statement for me?
I'm
using FP 2003, and all my pages are just plain old html. The url is
www.dipika.org. Would be much appreciated.

Thanks everyone.

Wally S


Using the Loose doctype, table width will be honoured, table
height
may
be
ignored (depends on browser, but it is illegal HTML). Have still to
check
what happens with a Strict doctype, but width should be
implemented
by
CSS.

Ron
--
Reply only to group - emails will be deleted unread.


But I gather from a previous post that some of the html that FP uses,
like
table height & width won't work if you use a doctype.

Wally S


Yep - have already done that. 8)
wrote
in
message Agreed. However, the code snippets can be edited:
http://office.microsoft.com/en-us/assistance/HP010278741033.aspx
You
can
also create new ones:
http://office.microsoft.com/en-us/assistance/HP010278721033.aspx

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/


Actually, the code snippet also inserts a broken doctype! 8(

To be valid it must include both lines as I showed, one of which
has
the url link.


"Kathleen Anderson [MVP - FrontPage]"
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top