From: Matthew A. S. <ms...@sh...> - 2001-02-10 19:17:03
|
Yeah, someone told me to to end Mac setHTML stuff with a newline. Heh, it actually works for me, try it. Try your setHTML line as such: layer.setHTML('<table border=3D0 cellpadding=3D4 cellspacing=3D2><tr><td>text</td><td>more text</td></tr></table>\n') -- Matthew -----Original Message----- From: Monica Keefe [mailto:mo...@ko...] Sent: Saturday, February 10, 2001 10:42 AM To: 'dyn...@li...' Subject: [Dynapi-Dev] IE 5.0 Mac: setHTML with tables not working Hi all, I'm working on a hierarchical menu project that has to work in: Windows: N4.x and up IE 4.x and up Mac: NS 4.75 IE 5.0 So far I'm only having one platform problem :-) I create a DynLayer and in the oncreate method, I use setHTML. This works fine until I try to add a table, like this: layer.setHTML('<table border=3D0 cellpadding=3D4 cellspacing=3D2><tr><td>text</td><td>more text</td></tr></table>') It works fine with other HTML, including <a href> tags and some other <font> tags, but won't work with the table tags. Doesn't cause problems in any other browser that I've tried. Has anyone else experienced this? Thanks, Monica _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/lists/listinfo/dynapi-dev |