[pmwiki-users] vertical align problems continued: how to remove <div class=vspace> ?

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 23 10:32:32 CDT 2006


On Sat, Oct 21, 2006 at 01:34:24AM -0400, Henrik wrote:
> Brian,
> 
> See what I've done at http://pmwiki.org/wiki/Test/Rfloat
> 
> Two things:
> 
> 1. Use %block rfloat% to force PmWiki to wrap the pictures in divs 
> rather than spans
> 
> 2. Put all the %block rfloat% statements in the same physical line to 
> prevent PmWiki from putting
> 
> <div class='vspace'></div>
> 
> between images.

Actually, simply omitting any blank lines between the images should
prevent the <div class='vspace'></div> from appearing.

Put another way, <div class='vspace'></div> is generated from
blank lines in the markup.

Pm


> Brian wrote:
> > This is the buggy page: http://www.lvivlviv.com/Lviv-Oblast/Zolochiv-Castle
> >
> > you can also see it here: http://pmwiki.org/wiki/Test/Rfloat
> > however the former is using custom css for debugging purposes.
> >
> > First I tried using the local.css to create fix, but that was
> > unsuccessful, something deeper than just CSS was causing this bug.
> >
> > I began by transplanting the source to notepad and tinkering with
> > different combinations.
> >
> > After removing <div class=vspace> and changing <div><span
> >  class='picholder'> to <div class=picholder> the text finally wraps around two
> > right floated images in IE.
> >
> > How can I stop PMwiki from including SPAN and <div class=vspace>. Both
> > need to be removed for IE to properly read the page.
> >
> > Here is the code with this div removed. Copy it into notepad then IE,
> > and compare with the wiki output source:
> >
> > <!--PageText-->
> > <div id='wikitext'>
> > <div class='picholder'><img src='http://www.lvivlviv.com/pics/lviv-oblast/zolochiv-castle/zolochiv-castle-chinese.jpg' alt='the chinese quarters at zolochiv' title='the chinese quarters at zolochiv' /><br /><strong>The Chinese mansion at Zolochiv</strong></span></div>
> > <div class='picholder'><img src='http://www.lvivlviv.com/pics/lviv-oblast/zolochiv-castle/zolochiv-castle-chinese.jpg' alt='the chinese quarters at zolochiv' title='the chinese quarters at zolochiv' /><br /><strong>The Chinese mansion at Zolochiv</strong></span></div>
> > <p class='vspace'>Ne nam facete aeterno alienum, has et congue contentiones, ubique cetero ea sit. Ne quo scripta repudiare. Per et saperet reformidans. Duo eius voluptaria intellegebat ut, stet virtute his cu, sit audiam facilisis et. Sumo quot ei sed, tation iisque sententiae ne per, no nam nostro facilisi senserit. Pri ex enim etiam recteque, per tota antiopam et, nulla definitionem eos at.
> > </p>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
> >   
> 
> -- 
> 
> Henrik Bechmann
> www.osscommons.ca
> www.bechmannsoftware.com
> Webmaster, www.dufferinpark.ca
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 




More information about the pmwiki-users mailing list