zarroun
26 Oct 2006, 03:01 AM
Hello everyone,
I'm trying to have nested tables for my site. The height of the main table is being set to 100% via CSS. To have background elements tile the full height, i had to set nested tables to 100% as well. This works fine in pretty much everything, except IE7. The scroll bar seems to get offset by however many pixels high the top table cell is. I don't really want that. Here's the CSS part that I use to get the 100% height:
html,body{
margin:0;
padding:0;
height:100%;
border:none;
background-color: #000000;
}
table {
height:100%;
overflow:hidden;
}
td {
overflow:hidden;
}
#fullTD{
height:100%;
overflow:hidden;
}
I know, there is redundant code in there, but i tried may different ways to get the desired result. Thanks for the help! I hope this is enough info.
I'm trying to have nested tables for my site. The height of the main table is being set to 100% via CSS. To have background elements tile the full height, i had to set nested tables to 100% as well. This works fine in pretty much everything, except IE7. The scroll bar seems to get offset by however many pixels high the top table cell is. I don't really want that. Here's the CSS part that I use to get the 100% height:
html,body{
margin:0;
padding:0;
height:100%;
border:none;
background-color: #000000;
}
table {
height:100%;
overflow:hidden;
}
td {
overflow:hidden;
}
#fullTD{
height:100%;
overflow:hidden;
}
I know, there is redundant code in there, but i tried may different ways to get the desired result. Thanks for the help! I hope this is enough info.