Martin Kerz writes:
is it possible to create complex links using standard markup? I would love to have something like this:

<a href="Group/Page">
<h3>Link</h3>
<p>This is a fine link</p>
<p><b>that you should click</b></p>
</a>

This is certainly invalid HTML in all standards. Inside an <a> tag you can have only "inline" tags line <b>, <i>, <em>, <tt>, <span>. You cannot have block tags like <p>, <h#> or <div> among others.

Why would you need such links? Via CSS it is possible to apply block level styles to inline tags, you can show/hide parts of the link text, etc. See for example http://www.pmwiki.org/wiki/Cookbook/CSSPopups .

So, you can probably have

 [[link | '''Link''' %more% This is a fine link  %% ]]

Petko


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to