Helpful Information
 
 
Category: JavaScript Development
Netscape and DHTML

1. Question
In explorer I can force a layer only to operate within a <td> dhtml-script </td> However in Netscape the same layer is positioned in the top-left corner. How can I circumvent this.

2. Question
When defining the styles you can e.g. make one <h6> { apply for Netscape } and another <h6> { apply for IE } - but How?

Thanks!

1. <DIV>s are not constrained by <TD>s. You need to use CSS positioning.
2. @import. Only IE 4/5 and Opera 3 support this, so put your IE CSS definitions there and the ones that you want to be used by both in your regular <LINK> tag.

is there a difference between netscape and ie in the style="" attribute of a <div> tag?

if a page is viewed by ie, showing a layer is done by
document.all[layer name].style.visibility="visible". what is the corresponding syntax for netscape (if it's different)? i ask b/c i tried to write some layers into a page and they do not show up when viewed in netscape.










privacy (GDPR)