Message Thread: |
View All MessagesBack to WebFX |
Hi Erik! thanks for fast reply... i've disabled the border-Attribute in the functions. That workaround works fine.. Cu Jan From: Erik Arvidsson Sent: August 16, 2002 Subject: Re:getXHTML-Function This is definately a bug in IE. Somehow it translates the border attribute unit to some other internal unit. The best way is to not use border attributes since it is not allowed anyway (in any version except transitional). Use style to describe style and elements/attribute to describe data. If you really want to use the border attribute I guess you can do some manual translation. erik From: Stuck Mojo Sent: August 16, 2002 Subject: Re:getXHTML-Function Hi !! I'm using an richtext-editor to modify my documents. I want it to be able for xhtml. So I find ur getXHTML-Functions. But if I put a border to an Image for example the border=0 Attrib will get to border="9". If I put border=1 it says border="25" or border=2 becomes border="41" ...hey whats up there? I've tried to debug it, but the wrong number is already in the String, before the nodeAttribute is reached. I'm using IE5.5 The same problem becomes on ur Demo-Page http://webfx.eae.net/dhtml/richedit/editor.html drag an image with border or border=0 (the border-Attribute must be in it) in it and then klick save... I hope u had a solution? Greetings |