M
Martin Nadoll
Hello,
i am using Dreamweaver MX 2004 to develop my php and html-sites.
Dreamweaver includes a doctype-definition when creating a new page, in my
case:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Now i needed to make a table with 100% height to show the content vertical
centered on my screen.
(or is there a solution with css to center content vertical on screen?)
<table id="myTable">....... </table>
i used a id referenced style for that:
#myTable { height:100%; }
didn't work.
When i remove the doctype-definition, everything works fine.
What is the reason for that?
Is a doctype definition important?
What happens, if i remove it?
Is there another definition i can use, to bring that style to work?
Because i'm not sure, this is the right place, i will ask the same question
in a css group too.
Thanks for any help,
Martin Nadoll
i am using Dreamweaver MX 2004 to develop my php and html-sites.
Dreamweaver includes a doctype-definition when creating a new page, in my
case:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Now i needed to make a table with 100% height to show the content vertical
centered on my screen.
(or is there a solution with css to center content vertical on screen?)
<table id="myTable">....... </table>
i used a id referenced style for that:
#myTable { height:100%; }
didn't work.
When i remove the doctype-definition, everything works fine.
What is the reason for that?
Is a doctype definition important?
What happens, if i remove it?
Is there another definition i can use, to bring that style to work?
Because i'm not sure, this is the right place, i will ask the same question
in a css group too.
Thanks for any help,
Martin Nadoll