Thanks a lot for your investigation of this issue. My target platform is IE6 and IE6 removes the space in its DOM. IE7 is said to be much more standards compliant so no wonder it doesn't remove the space...
It seems that FlexWiki includes the space between * and the list text into the html. I didn't expect this so I never tested it. Thanks for pointing me to this. Still I think this is a (minor, but not for me) bug in FlexWiki. It might be better to strip any leading and trailing white space before generating the <li> html. Otherwise I'll have my users to write the lists like *item 1 *item 2 *item 3 *item 4 and so on for my layout to work both in IE6 and IE7. This is not very intuitive and the whitespace in html serves no purpose at all. This should be an easy fix, shouldn't it? Unfortunately, I haven't got a .NET development environment set up so I can't try... I could remove eventual leading whitespace via javascript but this isn't very desirable performance-wise... li:before isn't supported by IE as far as I know (maybe IE7 supports it?). Thanks again for spending time on this, Benno. On Thursday 24 January 2008 John Davidson wrote: | I have checked the source code and there is no addition of a space in the | output that is then removed by one browser but not another. I have tested | with Safari 3, Firefox 2 and IE7 (not IE6) and source input is identical. | See the bottom of the reference [1] topic, where I have created lists, some | with spaces after the wiki list identifier and others where there are no | spaces. | | Where I had a space | * first line | I get a <li> first line</li> | | Where I have no space | *second line | I get <li>second line</li> | | In both cases the output of the standard CSS for FlexWiki gives correct | output. | | If you are using the 'content' CSS modifier for a list then you should see | my sample at [2], where I explicitly add a space to li.before so that there | is one there all the time. | | | If this does not help please feel free to create a brief sample on a | webpage at ods.dyndns.org and let me know when it is there so that I can | see a coded sample of the issue, rather than just an explanation which may | not get across the problem. | | [1] http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/Test.html[2] | http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/FleXhtmlDemo.html | | John Davidson | | On 1/24/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: | > Hi all, | > | > another FlexWiki issue that bugs me: FlexWiki inserts a space between | > list tags and its contents: | > | > <ul> | > <li> List item</li> | > </ul> | > | > What I do is via javascript I insert spans at the top of <li> contents. | > Unfortunately, IE6 silently removes the leading space character when | > generating the dom while Firefox leaves it there. So the resulting thing | > is | > | > <li><span /> List item</li> | > | > in Firefox and | > | > <li><span />List item</li> | > | > in IE. This time I'm happy about the IE way, because the needless space | > in Firefox ruins my layout... | > | > The solution would be to find the code in the FlexWiki sourcecode that | > adds (or doesn't remove) this whitespace and fix this. I already looked | > through the code but wasn't able to find the right place due to my poor | > knowledge of FlexWikis inner workings... ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users