Hi Everyone.
I'm having a problem with getting a table to be 100% height in XHTML. If I change my DOCTYPE back to HTML4.01 it works fine. I set the width and height in a CSS stylesheet by adding the following class to the stylesheet.
.mainTable {
height:100%;
width:100%;
}
I've then created the table using this class:-
<table cellpadding="0" cellspacing="0" border="0" class="mainTable">
Anyone know why it ignores the height:100%?
Best Regards
Andrew.
I'm having a problem with getting a table to be 100% height in XHTML. If I change my DOCTYPE back to HTML4.01 it works fine. I set the width and height in a CSS stylesheet by adding the following class to the stylesheet.
.mainTable {
height:100%;
width:100%;
}
I've then created the table using this class:-
<table cellpadding="0" cellspacing="0" border="0" class="mainTable">
Anyone know why it ignores the height:100%?
Best Regards
Andrew.