The problems with netscape and layers/divs is probably out of date now as most folk aren't silly enough to use it. And its reasonable to give a NS4 user a gracfully degraded version of a page, rather then a bells and whistles version.
The traditional problem was along these lines.
<div id="outerLayer">
<div id="innerLayer">to drill to innerLayer in ie4 would be something like this (forgive me any inaccuracies its been a while.)
document.all['innerLayer']
but in ns4
document.layers['outerLayer'].document.layers['innerLayer']
newer browsers (mozilla, ns7+, ie5+, safari, opera) support getElementById
document.getElementById("innerLayer")However this problem has little to do with tables, and my advise would be stay away from all this div stuff unless you just want to enhance something you already have running in all browsers.
In terms of tables just about everything supports tables, NS4 had problems if you nested to many in one another, but it was more that it effected rendering speed rather than didn't work.
<table summary="">
<tr>
<td>
<table summary="">
<tr>
<td>This is in a nested table</td>
</table>
</td>
</tr>
</table>If you don't go mad on the table nesting you'll be fine, and this for most folk is the way to lay pages out.
You can use includes or useful stuff like tiles (see struts.jakarta.org), to allow you to organise your files like you would with frames. How you go about this is of course upto you.
You'll find a lot of folk more that happy to help on an appropriate list that deals with site building type issues.
Cheers Mark
On 26 May 2004, at 09:26, Ben Bookey wrote:
Dear list,
I think most of us need to have a mechanism where we can have multiple elements, "or jsp pages" in our jsp solutions.
We have a web solution based on frames, (and tomcat) and have realised that
on a normal sesion time-out,
we get 404 on some of the frames, and could lead to major confusion (&
jscript errors)for the user [to be more precise we have a data entry tool
with a series of buttons in a left frame which then load the various jsp
pages into the
center frame].
Could anyone give me a sample table solution? which runs on all browsers. I
have read around a little and still not sure what the
simplest/best/most effective cross-browser solution is.
i.e. Netscape prefers layers, and IE prefers DIV.
Would appreciate any help, and some HTML samples would be great
regards
Ben
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
