Hello,
I'm having some strange problems with page height in Internet Explorer (in Windows). You should be able to see it at this link:
<!-- m --><a class="postlink" href="http://mvhub.ltc.org/guide/">http://mvhub.ltc.org/guide/</a><!-- m -->
(there shouldn't be scrollbars at all, preferably, but the vertica ones are the major problem)
It displays properly in Mozilla Firebird/fox on Linux.
The stylesheet is at:
<!-- m --><a class="postlink" href="http://mvhub.ltc.org/guide/styles/main.css">http://mvhub.ltc.org/guide/styles/main.css</a><!-- m -->
Also, this is my first time doing stylesheets, so general constructive criticism is very welcome.
Thanks,
ErikSeems to look fine if you take the height property out of the HTML and BODY element structures.and/or take the height out of the TD elements.
Better would be to dump the table layout and just use CSS.Thanks for the quick response!
We want the table to stretch to fill the page, which doesn't seem to be the default behavior. And, a height attribute isn't in the HTML 4.01 spec for tables.
The html/body height styles were a work-around for that I found in forums somewhere.
What we'd really like is for the main table to stretch almost all the way to the bottom of the screen, except for a ~20 pixel yellow border, when there is not enough content to fill the screen.
When there is too much content to be displayed in a single screen and a vertical scrollbar is necessary, we'd still like the 20 pixel yellow border to show up at the bottom, to clearly indicate to the users that that's the end.
Thanks again
EGive the
BODY {
background:yellow;
margin-bottom:20px;
}
The background of other elements need to be given colors.This still doesn't stretch the table vertically to fill up the screen, at least not in Mozilla. Is there a way to make the table extend to the bottom of the screen. As is, it is just big enough to fit its contents.It'd probably be easier to just lose the tables and go with CSS only, like Fang said in his first reply. It probably would be, I will look into it.
It seems I can make it work nicely in Mozilla OR IE 6.0 OR IE 5.5, but no combination of the three.
Thanks for all the help!
-EOriginally posted by csl-erik
It seems I can make it work nicely in Mozilla OR IE 6.0 OR IE 5.5, but no combination of the three.
I think by "Mozilla" you mean: Netscape, Mozilla, Mozilla FireFox, and Opera, am I correct?
(Just trying to point out, even though it's quite obvious, that IE is the bad boy here, not Mozilla.)Yes, you're correct. I guess Microsoft thinks they're too good for the W3C specs...
I'm having some strange problems with page height in Internet Explorer (in Windows). You should be able to see it at this link:
<!-- m --><a class="postlink" href="http://mvhub.ltc.org/guide/">http://mvhub.ltc.org/guide/</a><!-- m -->
(there shouldn't be scrollbars at all, preferably, but the vertica ones are the major problem)
It displays properly in Mozilla Firebird/fox on Linux.
The stylesheet is at:
<!-- m --><a class="postlink" href="http://mvhub.ltc.org/guide/styles/main.css">http://mvhub.ltc.org/guide/styles/main.css</a><!-- m -->
Also, this is my first time doing stylesheets, so general constructive criticism is very welcome.
Thanks,
ErikSeems to look fine if you take the height property out of the HTML and BODY element structures.and/or take the height out of the TD elements.
Better would be to dump the table layout and just use CSS.Thanks for the quick response!
We want the table to stretch to fill the page, which doesn't seem to be the default behavior. And, a height attribute isn't in the HTML 4.01 spec for tables.
The html/body height styles were a work-around for that I found in forums somewhere.
What we'd really like is for the main table to stretch almost all the way to the bottom of the screen, except for a ~20 pixel yellow border, when there is not enough content to fill the screen.
When there is too much content to be displayed in a single screen and a vertical scrollbar is necessary, we'd still like the 20 pixel yellow border to show up at the bottom, to clearly indicate to the users that that's the end.
Thanks again
EGive the
BODY {
background:yellow;
margin-bottom:20px;
}
The background of other elements need to be given colors.This still doesn't stretch the table vertically to fill up the screen, at least not in Mozilla. Is there a way to make the table extend to the bottom of the screen. As is, it is just big enough to fit its contents.It'd probably be easier to just lose the tables and go with CSS only, like Fang said in his first reply. It probably would be, I will look into it.
It seems I can make it work nicely in Mozilla OR IE 6.0 OR IE 5.5, but no combination of the three.
Thanks for all the help!
-EOriginally posted by csl-erik
It seems I can make it work nicely in Mozilla OR IE 6.0 OR IE 5.5, but no combination of the three.
I think by "Mozilla" you mean: Netscape, Mozilla, Mozilla FireFox, and Opera, am I correct?
(Just trying to point out, even though it's quite obvious, that IE is the bad boy here, not Mozilla.)Yes, you're correct. I guess Microsoft thinks they're too good for the W3C specs...