Stefan Keller wrote: > Hi, > > im using DynApi 2.5.7 to develop some DHTML-Online-Games. > > When i set HTML to some DynLayers NS 4.x makes a break > after each word!!! This is very strange. >
You need to set the layer's width before inserting HTL into it, otherwise the size of thr layer is defaulted to 0 and therefore your content wrapped. > Please could anyone help. > NS 4.x makes a lot of trouble while using DynApi(i got some more Problems). > > NS4 is very DHTML limited mainly because it is 6 year-old technology ( in spite of new versions appearing, its core is the same it was ). The basic DynAPI functionalities should be OK, but if you force it too much, it may break. However, there are lots of coding practices out there that seem to break in NS and work in IE. Lots of times those practices are wrong from the beginning and should be avoided, regardless of them apparently working in most browsers. NS4's fragility has pointed me to many mistakes in the past, some of them I would never have known if it had to program for IE only ( a comment which may arise an argument about code working not being wrong code but hey, I'm a software engineer after all, and I do give value to internal structure ). It all goes down to experience. Any learning process implies some unavoidable scars. > > greetings > Stefan > > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help > _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help