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, <[email protected]> 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    [email protected]
> http     joshleepictures.com
> linkedin http://linkedin.com/in/joshleepictures
>
> 22 aurikelweg
> 50259 pulheim
> germany
>
>
>
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to