[pmwiki-users] possible to generate a p or div tag within li with standard markup

Brian Tibbels brian.tibbels at clickmarlow.co.uk
Fri Aug 10 18:37:15 CDT 2012


You can use <span> instead.
%fancyTitlebox%Title of the Picture%% will produce the desired effect.

Rgds
Brian


*

Brian Tibbels*
*IT support for small business and the individual*
http://clickmarlow.co.uk/
*m*: 07804 109906* | t*: 01628 477640




On 11 August 2012 00:06, <shout at joshleepictures.com> wrote:

> In order to do some fancy css stuff without having to traverse the DOM
> with jQuery I would like to generate an <div></div> within a <li> by using
> standard markup.
>
> My preferred syntax would be something like this:
> * Attach:someImage.jpg \\
> (:div class="fancyTitleBox":)e. g. title of the picture(:divend:)
>
> Of course this does not work (because (:div:) has to be on the beginning
> of a line which previous line is not ended by \\). so far the only thing I
> can generate with standard markup is a span, which is very restricted in
> terms of CSS.  Span:
> * Attach:someImage.jpg \\
> %%fancyTitleBox%%e. g. title of the picture%%
>
>
> Yes I do now, that I could create custom markup and a lot of other
> workarounds (jQuery hacking for once) to accomplish the same thing.
>
> Thanks for any thoughts on this, even if it¡¯s just a simple confirmation,
> that this is not possible with PmWiki standard markup.
>
> Best regards,
> Josh
>
>
> --
> ½ðýˆ”zÓ° JLP joshleepictures.com
>
> ÒÕÊõÖ¸µ¼           ´´ÒâÉãÓ°              »áÕ¹¾­Àí
> ART DRCTR    CREATIVE PHTGRPHR   EXHIBIT MNGR
>
> mobile   +49-1511-5794189
> email    shout at joshleepictures.com
> http     joshleepictures.com
> linkedin http://linkedin.com/in/joshleepictures
>
> 22 aurikelweg
> 50259 pulheim
> germany
>
>
>
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20120811/23e35834/attachment.html>


More information about the pmwiki-users mailing list