Here is my situation. I am coding in an AJAX framework for an intranet
application behind a vpn. Therefore, I can't give you a URL for the
actual app. I made a sample app for viewing and am looking for ideas.
The sample app is at www.sheldonlg.com/currentPeriod.htm. This sample
app does NOT exhibit the problem. I put it there so that I can talk to
the you about the problem.
In the actual app, initially a bunch of empty divs are written and the
attribute display:none is set for all of them. When the user selects a
fiscal period, and other options, and hits the "go" button, a large set
of data are written inside one of the hidden divs and its attribute is
set to display: inline. I have copied the html code for one of those
complete sets and pasted it into the sample app. (1-Nov-2006). At the
beginning of the first data line there is a "+". Hitting this "+"
causes it to change to a "-" and a subtable appears. That, too, has a
"+". Inside that one is another table with another "+" and, finally,
inside that one is another table that does not expand. All of this
works in the sample app.
In the actual app, this works for Firefox. In IE6, coded as it is in
the sample app, the first "+" expands, but the second "+" is ignored.
If, however, I remove the class="centerTable" surrounding <div>, then it
works in IE6 as well, but the entire table display is left adjusted
rather than center adjusted. If I remove that surrounding div, and put
the class="centerTable" into the actual div that surrounds the date (the
one that has id="div_01-Nov-2006") then I get the same behavior as with
a surrounding <div>. When I include the class attribute, it centers the
block of data.
So, right now I am left with either having it work and not being able to
center the block or centering the block and not having it work.
As I said, the sample app works and it was scarfed directly from the
html display tab in Firebug for the actual app.
Any ideas would be greatly appreciated.