I have this code at the start of a file called "main.css":
Then, I put this in the head section of my page:
When I make a table and set the height to 100%, it normally makes the table take up 100% of the height of a Firefox browser window, but now, for some reason, I only get a table with a height of about 20px. Everything else in the main.css file displays fine, so it is having no problems finding the main.css file, but it won't make the table 100%!
Why does it do that? It's always worked doing it that way before, hope someone can understand my problem and give me a hand!
Thanks,
Will.
Code:
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
height: 100%;
}
Then, I put this in the head section of my page:
Code:
<link rel="stylesheet" type="text/css" href="main.css">
When I make a table and set the height to 100%, it normally makes the table take up 100% of the height of a Firefox browser window, but now, for some reason, I only get a table with a height of about 20px. Everything else in the main.css file displays fine, so it is having no problems finding the main.css file, but it won't make the table 100%!
Why does it do that? It's always worked doing it that way before, hope someone can understand my problem and give me a hand!
Thanks,
Will.







