I have an application that will only be certified only with IE. It will mimick a spreadsheet where the top and left side are frozen and the data in the middle can scroll (freezing the heading info). DIV1,DIV3 and DIV5 are holding the headings (frozen) and DIV2,DIV4 and DIV6 are holding the data (scrollable).
DIV1 DIV2
DIV3 DIV4
DIV5 DIV6
This works fine when my resolution is set to 1024X768 and when the screen is maximized. If not, my data (DIV2,4,6) is displaying below the headings.
Is there a way to get it to display with DIV2 always to right of DIV1, DIV4 always to right of DIV3 etc. reguardless of how the resolution is set and how big the screen is?
I tried using display in-line but it didn’t seem to help.
#div1{ height:61px; width:274px; overflow:hidden;
float:left;
}
#div2{ height:61px; width:672px; overflow:hidden;
}
#div3{max-height:363px; width:274px; overflow:hidden;
float:left;
height:expression(
this.scrollHeight > 363? “363px” : “auto” );
}
#div4{max-height:380px; width:672px; overflow:auto; overflow-x:scroll; overflow-y:scroll;
height:expression(
this.scrollHeight > 380? “380px” : “auto” );
}
#div5{ height:70px; width:274px; overflow:hidden;float:left;clear:both;
}
#div6{ height:70px; width:672px; overflow:hidden;
}