[pmwiki-users] LinkCSSToolTip recipe

Hans design5 at softflow.co.uk
Fri Apr 11 11:18:49 CDT 2008


There are still some unresolved problems, and I am not sure how to
address them. They may well jeopardize the whole recipe.
Opera shows them, as it seems to render to stricter standards.

Visually the problem shows that

abcde [[Target|Text|:tooltip:]]

looks like

abcde
___Text___ (link)

i.e not on the same line.


Fundamental Problem:

PmWiki renders markup like:

abcde [[Target|Text]]

to HTML:

<p>abcde <a href='...Target'> Text</a>
</p>

and for the tooltip link:

abcde [[Target|Text|:tooltip:]]

the HTML produced basically is:

<p class='vspace'>abcde <div class='ttwrap'><a ... href='...Target'>Text</a>
   <span id='ttip..' class='ttip'
   style='z-index:..'><p>tooltip</p></span></div>
</p>

I don't know how to stop the class='vspace' being added to the p tag.
And it shows an underlying flaw that p tags contain div tags.



  ~Hans




More information about the pmwiki-users mailing list