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

Brian brianbashi at gmail.com
Fri Oct 20 16:59:25 CDT 2006


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>

















More information about the pmwiki-users mailing list